Share via


VisualElement.GetIsLegacyColorModeEnabled Method

Definition

Overloads

GetIsLegacyColorModeEnabled(BindableObject)

Returns the legacy color mode.

GetIsLegacyColorModeEnabled(IPlatformElementConfiguration<iOS,VisualElement>)

Returns the legacy color mode.

GetIsLegacyColorModeEnabled(BindableObject)

Returns the legacy color mode.

public static bool GetIsLegacyColorModeEnabled (Xamarin.Forms.BindableObject element);
static member GetIsLegacyColorModeEnabled : Xamarin.Forms.BindableObject -> bool

Parameters

element
BindableObject

The platform specific element on which to perform the operation.

Returns

System.Boolean

true if the legacy color mode is enabled. Otherwise, false.

Applies to

GetIsLegacyColorModeEnabled(IPlatformElementConfiguration<iOS,VisualElement>)

Returns the legacy color mode.

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

Parameters

config
IPlatformElementConfiguration<iOS,VisualElement>

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

Returns

System.Boolean

true if the legacy color mode is enabled. Otherwise, false.

Applies to