获取用于指示为访问数据上下文属性而要遍历的上级属性集的属性路径。
命名空间:  Microsoft.Windows.Design
程序集:  Microsoft.Windows.Design.Interaction(在 Microsoft.Windows.Design.Interaction.dll 中)
语法
声明
Public Property AncestorPath As String
    Get
    Private Set
public string AncestorPath { get; private set; }
public:
property String^ AncestorPath {
    String^ get ();
    private: void set (String^ value);
}
member AncestorPath : string with get, private set
function get AncestorPath () : String
private function set AncestorPath (value : String)
属性值
类型:System.String
指向数据上下文属性的路径。
备注
有关更多信息,请参见 DataContextValueSourceAttribute。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。
请参见
参考
DataContextValueSourceAttribute 类