TargetPropertyPath TargetPropertyPath TargetPropertyPath TargetPropertyPath Class

Definition

Represents the path to a property on a target element.

public : sealed class TargetPropertyPath
struct winrt::Windows::UI::Xaml::TargetPropertyPath
public sealed class TargetPropertyPath
Public NotInheritable Class TargetPropertyPath
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Examples

In this example, myPanel.Orientation is a TargetPropertyPath where myPanel is the Target and Orientation is the Property.

<Setter Target="myPanel.Orientation" Value="Horizontal"/>

Remarks

TargetPropertyPath is used to create the simplified dotted Setter.Target syntax in XAML.

Constructors

TargetPropertyPath() TargetPropertyPath() TargetPropertyPath() TargetPropertyPath()

Initializes a new instance of the TargetPropertyPath class.

TargetPropertyPath(DependencyProperty) TargetPropertyPath(DependencyProperty) TargetPropertyPath(DependencyProperty) TargetPropertyPath(DependencyProperty)

Initializes a new instance of the TargetPropertyPath class with the specified target property.

Properties

Path Path Path Path

Gets or sets the path to the property on the target element.

Target Target Target Target

Gets or sets the object that contains the property described by Path.

See also