BindingExpression.UpdateSource Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.