Share via


VisualElement.SetIsLegacyColorModeEnabled Method

Definition

Overloads

SetIsLegacyColorModeEnabled(BindableObject, Boolean)

Sets the legacy color mode.

SetIsLegacyColorModeEnabled(IPlatformElementConfiguration<iOS,VisualElement>, Boolean)

Sets the legacy color mode.

SetIsLegacyColorModeEnabled(BindableObject, Boolean)

Sets the legacy color mode.

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

Parameters

element
BindableObject

The platform specific element on which to perform the operation.

value
System.Boolean

true to enable legacy color mode. Otherwise, false.

Applies to

SetIsLegacyColorModeEnabled(IPlatformElementConfiguration<iOS,VisualElement>, Boolean)

Sets the legacy color mode.

public static Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS,Xamarin.Forms.VisualElement> SetIsLegacyColorModeEnabled (this Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS,Xamarin.Forms.VisualElement> config, bool value);
static member SetIsLegacyColorModeEnabled : Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS, Xamarin.Forms.VisualElement> * bool -> Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS, Xamarin.Forms.VisualElement>

Parameters

config
IPlatformElementConfiguration<iOS,VisualElement>

The platform specific configuration that contains the element on which to perform the operation.

value
System.Boolean

true to enable legacy color mode. Otherwise, false.

Returns

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

Applies to