BindingOperations.GetSourceUpdatingBindings(DependencyObject) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得所有 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與指定元素相關聯且值或目標值為無效的物件集合,尚未更新來源。
備註
若 root 是 null, GetSourceUpdatingBindings 則回傳所有 BindingExpressionBase 無效或未更新的物件。