BindingOperations.GetSourceUpdatingBindings Method (DependencyObject)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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 Shared Function GetSourceUpdatingBindings (
	root As DependencyObject
) As ReadOnlyCollection(Of BindingExpressionBase)

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(Of 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
Available since 4.5
Return to top
Show: