BindingOperations.GetSourceUpdatingBindings(DependencyObject) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om