Dela via


BindingExpression.UpdateSource Method

Definition

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

public:
 virtual void UpdateSource() = UpdateSource;
void UpdateSource();
public void UpdateSource();
function updateSource()
Public Sub UpdateSource ()

Remarks

If the UpdateSourceTrigger value of a two-way binding is set to Explicit, you must call the UpdateSource method or the changes will not propagate back to the source.

Calling this method does nothing if the Mode value of the binding is not TwoWay.

Applies to

See also