Språk

FrameworkElementFactory.SetBinding(DependencyProperty, BindingBase) Metod

Definition

Konfigurerar databindning för en egenskap.

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)

Parametrar

dp
DependencyProperty

Identifierar egenskapen där bindningen ska upprättas.

binding
BindingBase

Beskrivning av bindningen.

Gäller för