Enum UpdateSourceTrigger
Defines constants that indicate when a binding source is updated by its binding target in two-way binding.
Namespace: System.Windows.Data
Assembly: OpenSilver.dll
Syntax
public enum UpdateSourceTrigger
Fields
| Name | Description |
|---|---|
| Default | The binding source is updated automatically when the binding target value changes. |
| Explicit | The binding source is updated only when you call the UpdateSource() method. |
| LostFocus | Updates the binding source whenever the binding target element loses focus. |
| PropertyChanged | The binding source is updated whenever the binding target value changes. If the binding target is a TextBox, it does not have to lose focus for the changes to be detected. |