다음을 통해 공유


TargetPropertyPath 클래스

정의

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

public ref class TargetPropertyPath sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.UI.Xaml.ITargetPropertyPathFactory, 65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.Activatable(65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 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.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.Activatable(Windows.UI.Xaml.ITargetPropertyPathFactory, 65536, "Windows.Foundation.UniversalApiContract")]
class TargetPropertyPath final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.UI.Xaml.ITargetPropertyPathFactory), 65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.Activatable(65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class TargetPropertyPath
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.UI.Xaml.ITargetPropertyPathFactory), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class TargetPropertyPath
Public NotInheritable Class TargetPropertyPath
상속
Object Platform::Object IInspectable TargetPropertyPath
특성

Windows 요구 사항

디바이스 패밀리
Windows 10 (10.0.10240.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v1.0에서 도입되었습니다.)

예제

이 예제에서 는 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에서 설명하는 속성을 포함하는 개체를 가져오거나 설정합니다.

적용 대상

추가 정보