SettersExtensions.AddDynamicResource Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.