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

Tanım

Bağlar self nesnenin targetProperty yeni bir Binding oluşturulurken örneği 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

Parametreler

self
DataTemplate

Bu yöntem çalıştığı şablonu.

targetProperty
BindableProperty

Bağlamanın hedef özelliği.

path
String

Bağlama yolu.

Şunlara uygulanır