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

Definition

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

Parameters

self
DataTemplate DataTemplate

The template on which this method operates.

targetProperty
BindableProperty BindableProperty

The target property of the binding.

path
String String

The path to the binding.

Applies to