BindingOperations.GetSourceUpdatingBindingGroups(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 BindingGroup objects that have invalid values or target values have not been updated the source.
public:
static System::Collections::ObjectModel::ReadOnlyCollection<System::Windows::Data::BindingGroup ^> ^ GetSourceUpdatingBindingGroups(System::Windows::DependencyObject ^ root);
public static System.Collections.ObjectModel.ReadOnlyCollection<System.Windows.Data.BindingGroup> GetSourceUpdatingBindingGroups (System.Windows.DependencyObject root);
static member GetSourceUpdatingBindingGroups : System.Windows.DependencyObject -> System.Collections.ObjectModel.ReadOnlyCollection<System.Windows.Data.BindingGroup>
Public Shared Function GetSourceUpdatingBindingGroups (root As DependencyObject) As ReadOnlyCollection(Of BindingGroup)
Parameters
- root
- DependencyObject
The root UIElement to get binding groups for. This method returns BindingGroup objects that are associated with this element or its descendant elements.
Returns
A collection of BindingGroup 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
, GetSourceUpdatingBindingGroups returns all BindingGroup objects that are invalid or have not been updated.