Partager via


DataTemplate.SetBinding(BindableProperty, BindingBase) Méthode

Définition

Définit la liaison pour property.

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

Paramètres

property
BindableProperty

Propriété à laquelle effectuer la liaison.

binding
BindingBase

Liaison à utiliser.

S’applique à