Binding.Path Property
Silverlight
Gets or sets the path to the binding source property.
Namespace: System.Windows.Data
Assembly: System.Windows (in System.Windows.dll)
[TypeConverterAttribute(typeof(PropertyPathConverter))] public PropertyPath Path { get; set; }
<Binding Path="propertyPath"/>
XAML Values
Property Value
Type: System.Windows.PropertyPathThe property path for the source of the binding. See PropertyPath or Property Path Syntax.
| 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 ("").
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.