BindingExpressionBaseUpdateSource Method

Sends the current binding target value to the binding source property in TwoWay or OneWayToSource bindings.

Definition

Namespace: Avalonia.Data
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public virtual void UpdateSource()

Remarks

This method does nothing when the Mode of the binding is not TwoWay or OneWayToSource. If the UpdateSourceTrigger value of your binding is set to Explicit, you must call the UpdateSource method or the changes will not propagate back to the source.

See Also