EN
Ce contenu n’est pas disponible dans votre langue. Voici la version anglaise.

BindingExpression.UpdateSource method

Applies to Windows and Windows Phone

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

Syntax


public void UpdateSource()

Parameters

This method has no parameters.

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.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Data
Windows::UI::Xaml::Data [C++]

Metadata

Windows.winmd

See also

BindingExpression
UpdateSourceTrigger

 

 

Afficher:
© 2014 Microsoft