Share via


DataContextValueSourceAttribute.AncestorPath Property

Gets the property path that indicates the set of ancestor properties to traverse to reach the data context property.

Namespace:  Microsoft.Windows.Design
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
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)

Property Value

Type: System.String
The path to the data context property.

Remarks

For more information, see DataContextValueSourceAttribute.

.NET Framework Security

See Also

Reference

DataContextValueSourceAttribute Class

Microsoft.Windows.Design Namespace

Other Resources

Understanding WPF Designer Extensibility