Skip to main content

UpdateSourceTrigger Enumeration

Describes the timing of binding source updates.

Definition

Namespace: Avalonia.Data
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public enum UpdateSourceTrigger
View Source

Members

Default0The default UpdateSourceTrigger value of the binding target property. This currently defaults to PropertyChanged.
PropertyChanged1Updates the binding source immediately whenever the binding target property changes.
LostFocus2Updates the binding source whenever the binding target element loses focus.
Explicit3Updates the binding source only when you call the UpdateSource() method.

See Also

Reference

Avalonia.Data Namespace