共用方式為


DependencyObject.IsBindingSet(DependencyProperty) 方法

定義

指出 DependencyProperty 的值是否已設定為繫結。 請參閱 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
Public Function IsBindingSet (dependencyProperty As DependencyProperty) As Boolean

參數

dependencyProperty
DependencyProperty

要測試的 DependencyProperty

傳回

Boolean

如果設定為繫結,則為 true,否則為 false

例外狀況

dependencyProperty 為 null 參考 (在 Visual Basic 中為 Nothing)。

適用於