Show / Hide Table of Contents

Class PropertyPath

Implements a data structure for describing a property as a path below another property, or below an owning type. Property paths are used in data binding to objects, and in storyboards and timelines for animations.

Inheritance
System.Object
DependencyObject
PropertyPath
Inherited Members
DependencyObject.GetValue(DependencyProperty)
DependencyObject.SetCurrentValue(DependencyProperty, Object)
DependencyObject.ReadLocalValue(DependencyProperty)
DependencyObject.SetValue(DependencyProperty, Object)
DependencyObject.SetValue(DependencyPropertyKey, Object)
DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs)
DependencyObject.CoerceValue(DependencyProperty)
DependencyObject.Dispatcher
DependencyObject.INTERNAL_OnAttachedToVisualTree()
DependencyObject.INTERNAL_OnDetachedFromVisualTree()
DependencyObject.ClearValue(DependencyProperty)
DependencyObject.ClearValue(DependencyPropertyKey)
DependencyObject.CheckAccess()
DependencyObject.GetAnimationBaseValue(DependencyProperty)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows
Assembly: OpenSilver.dll
Syntax
public sealed class PropertyPath : DependencyObject, IDependencyObject

Constructors

| Improve this Doc View Source

PropertyPath(String)

Initializes a new instance of the PropertyPath class.

Declaration
public PropertyPath(string path)
Parameters
Type Name Description
System.String path

A property path string.

| Improve this Doc View Source

PropertyPath(String, Object[])

Initializes a new instance of the PropertyPath class.

Declaration
public PropertyPath(string path, params object[] pathParameters)
Parameters
Type Name Description
System.String path

The path string for this PropertyPath.

System.Object[] pathParameters

Do not use.

Exceptions
Type Condition
System.ArgumentOutOfRangeException

Provided an array of length greater than zero for pathParameters.

| Improve this Doc View Source

PropertyPath(DependencyProperty)

Initializes a new instance of the PropertyPath class.

Declaration
public PropertyPath(DependencyProperty dependencyProperty)
Parameters
Type Name Description
DependencyProperty dependencyProperty

A dependency property identifier.

Properties

| Improve this Doc View Source

Path

Gets the path value held by this PropertyPath.

Declaration
public string Path { get; }
Property Value
Type Description
System.String

The path value held by this PropertyPath.

Extension Methods

DependencyObjectHelper.GetSelfAndAncestors(DependencyObject)
VisualTreeExtensions.GetVisualAncestors(DependencyObject)
VisualTreeExtensions.GetVisualAncestorsAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualChildren(DependencyObject)
VisualTreeExtensions.GetVisualChildrenAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualDescendants(DependencyObject)
VisualTreeExtensions.GetVisualDescendantsAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualSiblings(DependencyObject)
VisualTreeExtensions.GetVisualSiblingsAndSelf(DependencyObject)
  • Improve this Doc
  • View Source