Redigera

Dela via


BindingExpression.UpdateSource Method

Definition

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

public:
 override void UpdateSource();
public override void UpdateSource ();
override this.UpdateSource : unit -> unit
Public Overrides Sub UpdateSource ()

Exceptions

The binding has been detached from its target.

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.

Applies to

See also