TemplateExtensions.SetBinding(DataTemplate, BindableProperty, String) Yöntem

Tanım

self nesnesini targetProperty ile patholuşturulan yeni Binding bir örneğe bağlar.

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

Parametreler

self
DataTemplate

Bu yöntemin üzerinde çalıştığı şablon.

targetProperty
BindableProperty

Bağlamanın hedef özelliği.

path
String

Bağlamanın yolu.

Şunlara uygulanır