XRBindingMode (Compact 2013)

3/28/2014

This enumeration specifies how data propagates in a binding.

Syntax

enum XRBindingMode
{
    XRBindingMode_OneWay=1,
    XRBindingMode_OneTime=2,
    XRBindingMode_TwoWay=3,
};

Elements

  • XRBindingMode_OneTime
    Updates the target property when the binding is created.
  • XRBindingMode_OneWay
    Updates the target property when the binding is created. Changes to the source object also propagate to the target.
  • XRBindingMode_TwoWay
    Updates either the target or the source object when either changes. When the binding is created, the target property is updated from the source.

Remarks

For XRBindingMode_OneTime and XRBindingMode_OneWay bindings, calls to IXRPropertyBag::SetValue automatically change the target value.

.NET Framework Equivalent

System.Windows.Data.BindingMode

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

XAML for Windows Embedded Enumerations