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 为空引用(在 Visual Basic 中为 Nothing)。

适用于