[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Describes how the data propagates in a binding.
Assembly: System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.
Public Enumeration BindingMode
public enum BindingMode
|OneWay||Updates the target property when the binding is created. Changes to the source object can also propagate to the target.|
|OneTime||Updates the target property when the binding is created.|
|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.|
For OneWay or TwoWay bindings, dynamic changes to the source do not automatically propagate to the target. You must implement the INotifyPropertyChanged interface on the source object.
For TwoWay bindings, changes to the target do not automatically propagate to the source, except if the binding target is the Text property. In that case, the update happens only when the TextBox loses focus.
For OneTime and OneWay bindings, calls to SetValue automatically change the target value and delete the binding.
Windows Phone OS
Supported in: 8.1, 8.0, 7.1, 7.0