Edit

Bagikan melalui


BindingOperations.GetSourceUpdatingBindings(DependencyObject) Method

Definition

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

public:
 static System::Collections::ObjectModel::ReadOnlyCollection<System::Windows::Data::BindingExpressionBase ^> ^ GetSourceUpdatingBindings(System::Windows::DependencyObject ^ root);
public static System.Collections.ObjectModel.ReadOnlyCollection<System.Windows.Data.BindingExpressionBase> GetSourceUpdatingBindings (System.Windows.DependencyObject root);
static member GetSourceUpdatingBindings : System.Windows.DependencyObject -> System.Collections.ObjectModel.ReadOnlyCollection<System.Windows.Data.BindingExpressionBase>
Public Shared Function GetSourceUpdatingBindings (root As DependencyObject) As ReadOnlyCollection(Of BindingExpressionBase)

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