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

繫結的描述。

適用於