Enum BindingMode
Definition
- Assembly:
- Tizen.NUI.dll
The direction of changes propagation for bindings.
public enum BindingMode
Fields
Name | Description |
---|---|
Default | When used in Bindings, indicates that the Binding should use the DefaultBindingMode. When used in BindableProperty declaration, defaults to BindingMode.OneWay. |
OneTime | Indicates that the binding will be applied only when the binding context changes and the value will not be monitored for changes with INotifyPropertyChanged. |
OneWay | Indicates that the binding should only propagate changes from source (usually the View Model) to target (the BindableObject). This is the default mode for most BindableProperty values. |
OneWayToSource | Indicates that the binding should only propagate changes from target (the BindableObject) to source (usually the View Model). This is mainly used for read-only BindableProperty values. |
TwoWay | Indicates that the binding should propagates changes from source (usually the View Model) to target (the BindableObject) in both directions. |