FrameworkElementFactory.SetBinding(DependencyProperty, BindingBase) 方法

定义

在属性上设置数据绑定。

public:
 void SetBinding(System::Windows::DependencyProperty ^ dp, System::Windows::Data::BindingBase ^ binding);
public void SetBinding (System.Windows.DependencyProperty dp, System.Windows.Data.BindingBase binding);
member this.SetBinding : System.Windows.DependencyProperty * System.Windows.Data.BindingBase -> unit
Public Sub SetBinding (dp As DependencyProperty, binding As BindingBase)

参数

dp
DependencyProperty

标识应在其中建立绑定的属性。

binding
BindingBase

绑定的说明。

适用于