Compartilhar via


VisualElement.GetIsLegacyColorModeEnabled Method

Definition

Overloads

GetIsLegacyColorModeEnabled(BindableObject)

Gets a Boolean value that tells whether the legacy color mode is enabled.

GetIsLegacyColorModeEnabled(IPlatformElementConfiguration<Android,VisualElement>)

Gets a Boolean value that tells whether the legacy color mode is enabled.

GetIsLegacyColorModeEnabled(BindableObject)

Gets a Boolean value that tells whether the legacy color mode is enabled.

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

Parameters

element
BindableObject

The visual element on the Android platform whose legacy color mode status to get.

Returns

System.Boolean

A Boolean value that tells whether the legacy color mode is enabled.

Applies to

GetIsLegacyColorModeEnabled(IPlatformElementConfiguration<Android,VisualElement>)

Gets a Boolean value that tells whether the legacy color mode is enabled.

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

Parameters

config
IPlatformElementConfiguration<Android,VisualElement>

The platform configuration for the visual element on the Android platform whose legacy color mode status to get.

Returns

System.Boolean

A Boolean value that tells whether the legacy color mode is enabled.

Applies to