Binding Constructor (String)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Initializes a new instance of the Binding class with an initial property path for the data source.
Assembly: System.Windows (in System.Windows.dll)
Parameters
- path
- Type: System.String
The initial property path for the source of the binding.
| Exception | Condition |
|---|---|
| ArgumentNullException | path is Nothing. |
The path can be a direct property of the source object or subproperties.
To set the data source to be the Source object, the path should be an empty string ("").
Show: