Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
UpdateSourceTrigger Enumeration

UpdateSourceTrigger Enumeration

Describes the timing of binding source updates.

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

public enum UpdateSourceTrigger
<object property="enumerationMemberName" .../>

Member nameDescription
DefaultThe default UpdateSourceTrigger value of the binding target property. The default value for most dependency properties is PropertyChanged, while the Text property has a default value of LostFocus.

A programmatic way to determine the default UpdateSourceTrigger value of a dependency property is to get the property metadata of the property using GetMetadata and then check the value of the DefaultUpdateSourceTrigger property.

ExplicitUpdates the binding source only when you call the UpdateSource method.
LostFocusUpdates the binding source whenever the binding target element loses focus.
PropertyChangedUpdates the binding source immediately whenever the binding target property changes.

For more information, see Binding.UpdateSourceTrigger.

.NET Framework

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

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft