Share via


SettersExtensions.AddDynamicResource Method

Definition

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

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

Parameters

setters
System.Collections.Generic.IList<Setter>

The list of setters to which to add the keyed property.

property
BindableProperty

The resource to add.

key
System.String

The resource key.

Applies to