BindingExpressionBase Class
Definition
public class BindingExpressionBase
Methods
| Name | Description |
|---|---|
| Dispose | No summary available. |
| UpdateSource | Sends the current binding target value to the binding source property in Avalonia.Data.BindingMode.TwoWay or Avalonia.Data.BindingMode.OneWayToSource bindings. |
| UpdateTarget | Forces a data transfer from the binding source to the binding target. |
Dispose Method
public void Dispose()
UpdateSource Method
Sends the current binding target value to the binding source property in Avalonia.Data.BindingMode.TwoWay or Avalonia.Data.BindingMode.OneWayToSource bindings.
public void UpdateSource()
Remarks
This method does nothing when the Mode of the binding is not Avalonia.Data.BindingMode.TwoWay or Avalonia.Data.BindingMode.OneWayToSource.
If the UpdateSourceTrigger value of your binding is set to Avalonia.Data.UpdateSourceTrigger.Explicit, you must call the Avalonia.Data.BindingExpressionBase.UpdateSource method or the changes will not propagate back to the source.
UpdateTarget Method
Forces a data transfer from the binding source to the binding target.
public void UpdateTarget()