Condividi tramite


SettersExtensions.AddDynamicResource Metodo

Definizione

Aggiunge un setter con una DynamicResource a 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

Parametri

setters
System.Collections.Generic.IList<Setter>

Elenco dei setter al quale aggiungere la proprietà con chiave.

property
BindableProperty

Risorsa da aggiungere.

key
System.String

Chiave della risorsa.

Si applica a