BindableObject.SetBinding(BindableProperty, BindingBase) Metodo

Definizione

Assegna un'associazione a una proprietà associabile.

public:
 void SetBinding(Microsoft::Maui::Controls::BindableProperty ^ targetProperty, Microsoft::Maui::Controls::BindingBase ^ binding);
public void SetBinding (Microsoft.Maui.Controls.BindableProperty targetProperty, Microsoft.Maui.Controls.BindingBase binding);
member this.SetBinding : Microsoft.Maui.Controls.BindableProperty * Microsoft.Maui.Controls.BindingBase -> unit
Public Sub SetBinding (targetProperty As BindableProperty, binding As BindingBase)

Parametri

targetProperty
BindableProperty

Proprietà associabile in cui applicare binding.

binding
BindingBase

Associazione da impostare per targetProperty.

Si applica a