Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

BindingMode Enumeration

Describes how the data propagates in a binding.

Namespace:  System.Windows.Data
Assembly:  System.Windows (in System.Windows.dll)

public enum BindingMode
<object property="enumMemberName"/>

Member nameDescription
Supported by Silverlight for Windows PhoneOneWayUpdates the target property when the binding is created. Changes to the source object can also propagate to the target.
Supported by Silverlight for Windows PhoneOneTimeUpdates the target property when the binding is created.
Supported by Silverlight for Windows PhoneTwoWayUpdates 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.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft