BindingOperations.GetSourceUpdatingBindings(DependencyObject) 方法

定義

取得所有 BindingExpressionBase 物件,這些物件有無效值或者目標值尚未被來源更新。

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)

參數

root
DependencyObject

要取得其繫結群組的根UIElement。 這個方法會傳回BindingExpressionBase物件,其與此項目或它的子代項目相關聯。

傳回

BindingExpressionBase 物件的集合,這些物件與指定的項目相關聯,並且含有無效值或是其目標值尚未更新來源。

備註

如果 為 rootnullGetSourceUpdatingBindings 則傳回所有 BindingExpressionBase 無效或尚未更新的物件。

適用於