There are four ways we can bind the data to the BindableObject
.
Default
: When we use the Default Binding mode, it indicated that asOneWay
binding, means, data change propagates from source (ViewModel
in this case) toView
element.OneWay
: It reflects the change from source toView
element as mentioned above. Example:Label
usesOneWay
binding.OneWayToSource
: It reflects the changes from target (BindableObject
) to source (ViewModel
). This is basically used for the readonly Bindable Properties.TwoWay
: It reflects the changes between source and target in both directions. Example:Entry
generally uses theTwoWay
binding.