Binding.Path Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets the path to the binding source property.
Assembly: System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.
<Binding Path="propertyPath"/>
XAML Values
Property Value
Type: System.Windows.PropertyPathThe property path for the source of the binding. See PropertyPath.
| Exception | Condition |
|---|---|
| InvalidOperationException | The Binding has already been attached to a target element, and cannot be modified. |
The path can be a direct property of the source object or sub-properties.
To set the data source to be the Source object, the path should be an empty string ("").
Show: