BindingOperations.GetSourceUpdatingBindings Method

.NET Framework 4.5

Gets all BindingExpressionBase objects that have invalid values or target values have not been updated the source.

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

public static ReadOnlyCollection<BindingExpressionBase> GetSourceUpdatingBindings(
	DependencyObject root
)

Parameters

root
Type: System.Windows.DependencyObject

The root UIElement to get binding groups for. This method returns BindingExpressionBase objects that are associated with this element or its descendant elements.

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<BindingExpressionBase>
A collection of BindingExpressionBase objects that are associated with the specified element and have invalid values or target values have not been updated the source.

If root is null, GetSourceUpdatingBindings returns all BindingExpressionBase objects that are invalid or have not been updated.

.NET Framework

Supported in: 4.6, 4.5

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft