Aracılığıyla paylaş


UpdateSourceTrigger Enumeration

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Defines constants that indicate when a binding source is updated by its binding target in two-way binding.

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

Syntax

'Declaration
Public Enumeration UpdateSourceTrigger
public enum UpdateSourceTrigger
<object property="enumMemberName"/>

Members

Member name Description
Supported by Silverlight for Windows Phone Default The binding source is updated automatically when the binding target value changes.
PropertyChanged The binding source is updated whenever the binding target value changes. If the binding target is a TextBox, it does not have to lose focus for the changes to be detected.
Supported by Silverlight for Windows Phone Explicit The binding source is updated only when you call the BindingExpression.UpdateSource method.

Remarks

This enumeration is used by the Binding.UpdateSourceTrigger property.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

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

Platforms

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