TemplateExtensions.SetBinding(DataTemplate, BindableProperty, String) TemplateExtensions.SetBinding(DataTemplate, BindableProperty, String) Method

Definição

Associa o targetProperty do objeto self a uma nova Binding instância que foi criada com path.Binds the self object's targetProperty to a new Binding instance that was created with path.

public static void SetBinding (this Xamarin.Forms.DataTemplate self, Xamarin.Forms.BindableProperty targetProperty, string path);
static member SetBinding : Xamarin.Forms.DataTemplate * Xamarin.Forms.BindableProperty * string -> unit

Parâmetros

self
DataTemplate DataTemplate

O modelo no qual este método opera.The template on which this method operates.

targetProperty
BindableProperty BindableProperty

A propriedade de destino da associação.The target property of the binding.

path
String String

O caminho para a associação.The path to the binding.

Aplica-se a