UpdateSourceTrigger Enumeration
Describes the timing of binding source updates.
Definition
Namespace: Avalonia.Data
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public enum UpdateSourceTrigger
Public Enumeration UpdateSourceTrigger
type UpdateSourceTrigger
Members
Default | 0 | The default UpdateSourceTrigger value of the binding target property. This currently defaults to PropertyChanged. |
PropertyChanged | 1 | Updates the binding source immediately whenever the binding target property changes. |
LostFocus | 2 | Updates the binding source whenever the binding target element loses focus. |
Explicit | 3 | Updates the binding source only when you call the UpdateSource() method. |