DataTemplate.SetBinding(BindableProperty, BindingBase) Method

Definition

Sets the binding for property.

public void SetBinding (Xamarin.Forms.BindableProperty property, Xamarin.Forms.BindingBase binding);
member this.SetBinding : Xamarin.Forms.BindableProperty * Xamarin.Forms.BindingBase -> unit

Parameters

property
BindableProperty

The property to which to bind.

binding
BindingBase

The binding to use.

Applies to