DependencyObject.IsBindingSet(DependencyProperty) 方法

定義

指出 DependencyProperty 的值是否已設定為繫結。Indicates whether the value of a DependencyProperty is set as a binding. 請參閱 SetBinding(DependencyProperty, ActivityBind)See SetBinding(DependencyProperty, ActivityBind).

public:
 bool IsBindingSet(System::Workflow::ComponentModel::DependencyProperty ^ dependencyProperty);
public bool IsBindingSet (System.Workflow.ComponentModel.DependencyProperty dependencyProperty);
member this.IsBindingSet : System.Workflow.ComponentModel.DependencyProperty -> bool

參數

dependencyProperty
DependencyProperty

要測試的 DependencyPropertyThe DependencyProperty to test.

傳回

如果設定為繫結,則為 true,否則為 falsetrue if set as a binding; otherwise, false.

例外狀況

dependencyProperty 為 null 參考 (在 Visual Basic 中為 Nothing)。dependencyProperty is a null reference (Nothing in Visual Basic).

適用於