XRBinding (Compact 7)
3/12/2014
This structure defines data-binding information for connecting the property value of a UI element and a data source property.
Syntax
struct XRBinding
{
XRBindingMode Mode;
const WCHAR* Path;
};
Members
- Mode
Indicates the direction of the data flow. This member uses the XRBindingMode enumeration.
- Path
Indicates the path to the data source property. This member uses Property Path Syntax.
Remarks
IXRFrameworkElement::SetBinding connects a dependency property of an IXRFrameworkElement-derived object to a data source property so that updates to the data source property are automatically propagated to the UI element. SetBinding uses the XRBinding structure to define the data-flow direction and data source property.
For more information, see Data Binding on MSDN.
.NET Framework Equivalent
System.Windows.Data.Binding
Requirements
Header |
XamlRuntime.h |
sysgen |
SYSGEN_XAML_RUNTIME |
See Also
Reference
Silverlight for Windows Embedded Structures
IXRFrameworkElement::SetBinding