Share via


SettersExtensions.AddBinding Method

Definition

Add a Setter with a Binding to the IList<Setter>

public static void AddBinding (this System.Collections.Generic.IList<Xamarin.Forms.Setter> setters, Xamarin.Forms.BindableProperty property, Xamarin.Forms.Binding binding);
static member AddBinding : System.Collections.Generic.IList<Xamarin.Forms.Setter> * Xamarin.Forms.BindableProperty * Xamarin.Forms.Binding -> unit

Parameters

setters
System.Collections.Generic.IList<Setter>

The list of setters to which to add a setter that binds property to value.

property
BindableProperty

The property to set.

binding
Binding

The binding to add.

Applies to