Export (0) Print
Expand All
1 out of 4 rated this helpful - Rate this topic

Binding.UpdateSourceTrigger Property

Gets or sets a value that determines the timing of binding source updates for two-way bindings.

Namespace:  System.Windows.Data
Assembly:  System.Windows (in System.Windows.dll)
public UpdateSourceTrigger UpdateSourceTrigger { get; set; }
<Binding UpdateSourceTrigger="updateSourceTriggerMemberName"/>

Property Value

Type: System.Windows.Data.UpdateSourceTrigger
A value that determines when the binding source is updated. The default is Default.

The Binding has already been attached to a target element, and cannot be modified.

Set this property to Explicit on two-way bindings to disable automatic updates to the binding source. This is useful when you want to perform validation on binding targets before any value changes are copied to the binding source. To update the binding source, use the FrameworkElement.GetBindingExpression method to retrieve a BindingExpression for the target property, and then call the UpdateSource method.


Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.