Partager via


XRBinding (Compact 2013)

3/28/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.

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

XAML for Windows Embedded Structures
IXRFrameworkElement::SetBinding