UpdateSourceTrigger Enum
Definition
Describes the timing of binding source updates.
public enum UpdateSourceTrigger
Fields
| Name | Description |
|---|---|
| Default | The default Avalonia.Data.UpdateSourceTrigger value of the binding target property. This currently defaults to Avalonia.Data.UpdateSourceTrigger.PropertyChanged. |
| Explicit | Updates the binding source only when you call the Avalonia.Data.BindingExpressionBase.UpdateSource method. |
| LostFocus | Updates the binding source whenever the binding target element loses focus. |
| PropertyChanged | Updates the binding source immediately whenever the binding target property changes. |
Default Field
The default Avalonia.Data.UpdateSourceTrigger value of the binding target property. This currently defaults to Avalonia.Data.UpdateSourceTrigger.PropertyChanged.
public Avalonia.Data.UpdateSourceTrigger Default
Explicit Field
Updates the binding source only when you call the Avalonia.Data.BindingExpressionBase.UpdateSource method.
public Avalonia.Data.UpdateSourceTrigger Explicit
LostFocus Field
Updates the binding source whenever the binding target element loses focus.
public Avalonia.Data.UpdateSourceTrigger LostFocus
PropertyChanged Field
Updates the binding source immediately whenever the binding target property changes.
public Avalonia.Data.UpdateSourceTrigger PropertyChanged