UpdateSourceTrigger Enumeration

Describes the timing of binding source updates.

Definition

Namespace: Avalonia.Data
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public enum UpdateSourceTrigger

Members

Default0 The default UpdateSourceTrigger value of the binding target property. This currently defaults to PropertyChanged.
PropertyChanged1 Updates the binding source immediately whenever the binding target property changes.
LostFocus2 Updates the binding source whenever the binding target element loses focus.
Explicit3 Updates the binding source only when you call the UpdateSource method.

See Also