Share via


BindingOperations.GetSourceUpdatingBindingGroups(DependencyObject) 方法

定义

获取所有无效值或没有进行源更新的目标值的 BindingGroup 对象。

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)

参数

root
DependencyObject

获取绑定组所用的根 UIElement。 此方法返回与此元素或其后代元素相关的 BindingGroup 对象。

返回

BindingGroup 对象的集合,这些对象与指定的元素关联,并具有无效值,或尚未更新资源的目标值。

注解

如果 rootnullGetSourceUpdatingBindingGroups 则返回无效或尚未更新的所有 BindingGroup 对象。

适用于