TargetPropertyPath 클래스

정의

대상 요소의 속성 경로를 나타냅니다.

public ref class TargetPropertyPath sealed
/// [Windows.Foundation.Metadata.Activatable(Microsoft.UI.Xaml.ITargetPropertyPathFactory, 65536, "Microsoft.UI.Xaml.WinUIContract")]
/// [Windows.Foundation.Metadata.Activatable(65536, "Microsoft.UI.Xaml.WinUIContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class TargetPropertyPath final
[Windows.Foundation.Metadata.Activatable(typeof(Microsoft.UI.Xaml.ITargetPropertyPathFactory), 65536, "Microsoft.UI.Xaml.WinUIContract")]
[Windows.Foundation.Metadata.Activatable(65536, "Microsoft.UI.Xaml.WinUIContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class TargetPropertyPath
Public NotInheritable Class TargetPropertyPath
상속
Object Platform::Object IInspectable TargetPropertyPath
특성

예제

이 예제에서 는 myPanel.Orientation 입니다 TargetPropertyPath . 여기서 myPanelTarget 이고 Orientation속성입니다.

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

설명

TargetPropertyPath 는 XAML에서 간소화된 점선 Setter.Target 구문을 만드는 데 사용됩니다.

생성자

TargetPropertyPath()

TargetPropertyPath 클래스의 새 instance 초기화합니다.

TargetPropertyPath(DependencyProperty)

지정된 대상 속성을 사용하여 TargetPropertyPath 클래스의 새 instance 초기화합니다.

속성

Path

대상 요소의 속성 경로를 가져오거나 설정합니다.

Target

Path에서 설명하는 속성을 포함하는 개체를 가져오거나 설정합니다.

적용 대상

추가 정보