Mode in WPF
You use the Mode property to specify the direction of the binding. The following enumeration list shows the available options for binding updates:
- TwoWay updates the target property or the property whenever either the target property or the source property changes.
- OneWay updates the target property only when the source property changes.
- OneTime updates the target property only when the application starts or when the DataContext undergoes a change.
- OneWayToSource updates the source property when the target property changes.
- Default causes the default Mode value of target property to be used.
No comments:
Post a Comment