VisualElement.SetStyle 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.
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
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.