Compartir a través de


DataTemplate.SetBinding(BindableProperty, BindingBase) Método

Definición

Establece el enlace de 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)

Parámetros

property
BindableProperty

Propiedad a la que se va a enlazar.

binding
BindingBase

El enlace que se va a usar.

Se aplica a