[WiFi] Remove ArgumentException (2) (#322)
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / src / public / XamlBinding / BindingMode.cs
1 using System.ComponentModel;
2
3 namespace Tizen.NUI.Binding
4 {
5     /// <summary>
6     /// The direction of changes propagation for bindings.
7     /// </summary>
8     [EditorBrowsable(EditorBrowsableState.Never)]
9     public enum BindingMode
10         {
11         /// <summary>
12         /// When used in Bindings, indicates that the Binding should use the DefaultBindingMode. When used in BindableProperty declaration, defaults to BindingMode.OneWay.
13         /// </summary>
14                 Default,
15
16         /// <summary>
17         /// Indicates that the binding should propagates changes from source (usually the View Model) to target (the BindableObject) in both directions.
18         /// </summary>
19                 TwoWay,
20
21         /// <summary>
22         /// 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.
23         /// </summary>
24                 OneWay,
25
26         /// <summary>
27         /// 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.
28         /// </summary>
29                 OneWayToSource,
30
31         /// <summary>
32         /// Indicates that the binding will be applied only when the binding context changes and the value will not be monitored for changes with INotifyPropertyChanged.
33         /// </summary>
34                 OneTime,
35         }
36 }