Export (0) Print
Expand All

BindingExpression.UpdateSource Method

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

Namespace:  System.Windows.Data
Assembly:  PresentationFramework (in PresentationFramework.dll)

public override void UpdateSource()

ExceptionCondition
InvalidOperationException

The binding has been detached from its target.

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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft