DescriptionViewer.PropertyPath Property

Silverlight

Gets or sets the path to the dependency property on the DataContext of the Target control that this DescriptionViewer is associated with.

Namespace:  System.Windows.Controls
Assembly:  System.Windows.Controls.Data.Input (in System.Windows.Controls.Data.Input.dll)

public string PropertyPath { get; set; }
<sdk:DescriptionViewer PropertyPath="propertyName"/>

XAML Values

propertyName

The name of a dependency property on the DataContext of the Target control.

Property Value

Type: System.String
The path to the dependency property on the DataContext of the Target control that this DescriptionViewer is associated with.

Dependency property identifier field: PropertyPathProperty

Set the PropertyPath property to specify a particular dependency property that the DescriptionViewer should retrieve metadata from. Setting the PropertyPath is useful when the Target control has multiple bindings. It can also be faster to specify the property if the Target control has many dependency properties for the DescriptionViewer to inspect.

Silverlight

Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show: