Sdílet prostřednictvím


FrameworkElementFactory.SetBinding(DependencyProperty, BindingBase) Metoda

Definice

Nastaví datovou vazbu na vlastnost.

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)

Parametry

dp
DependencyProperty

Určuje vlastnost, ve které má být vazba vytvořena.

binding
BindingBase

Popis vazby.

Platí pro