BindingOperations.GetSourceUpdatingBindings(DependencyObject) Method

Definition

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

C#
public static System.Collections.ObjectModel.ReadOnlyCollection<System.Windows.Data.BindingExpressionBase> GetSourceUpdatingBindings(System.Windows.DependencyObject root);

Parameters

root
DependencyObject

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

Returns

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.

Remarks

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

Applies to

Product Versions
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10