VisualElement.SetStyle Method

Definition

Overloads

SetStyle(BindableObject, String)

Sets the style on a visual element.

SetStyle(IPlatformElementConfiguration<Tizen,VisualElement>, String)

Sets the style on a visual element.

SetStyle(BindableObject, String)

Sets the style on a visual element.

public static void SetStyle (Xamarin.Forms.BindableObject element, string value);
static member SetStyle : Xamarin.Forms.BindableObject * string -> unit

Parameters

element
BindableObject

The visual element whose style to set.

value
System.String

The new style value.

Applies to

SetStyle(IPlatformElementConfiguration<Tizen,VisualElement>, String)

Sets the style on a visual element.

public static Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Tizen,Xamarin.Forms.VisualElement> SetStyle (this Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Tizen,Xamarin.Forms.VisualElement> config, string value);
static member SetStyle : Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Tizen, Xamarin.Forms.VisualElement> * string -> Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Tizen, Xamarin.Forms.VisualElement>

Parameters

config
IPlatformElementConfiguration<Tizen,VisualElement>

The platform configuration for the visual element whose style to set.

value
System.String

The new style value.

Returns

A fluent object on which the developer may make further method calls.

Applies to