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.
Inherited Members
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 SourcePropertyPath(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. |
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. |
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 SourcePath
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. |