Share via


VisualElement.GetIsLegacyColorModeEnabled Method

Definition

Overloads

GetIsLegacyColorModeEnabled(BindableObject)

Gets whether or not the legacy color mode for this element is enabled.

GetIsLegacyColorModeEnabled(IPlatformElementConfiguration<Android,VisualElement>)

Gets whether or not the legacy color mode for this element is enabled.

GetIsLegacyColorModeEnabled(BindableObject)

Source:
VisualElement.cs
Source:
VisualElement.cs

Gets whether or not the legacy color mode for this element is enabled.

public:
 static bool GetIsLegacyColorModeEnabled(Microsoft::Maui::Controls::BindableObject ^ element);
public static bool GetIsLegacyColorModeEnabled (Microsoft.Maui.Controls.BindableObject element);
static member GetIsLegacyColorModeEnabled : Microsoft.Maui.Controls.BindableObject -> bool
Public Function GetIsLegacyColorModeEnabled (element As BindableObject) As Boolean

Parameters

element
BindableObject

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

Returns

true if legacy color mode is enabled for this element, otherwise false.

Applies to

GetIsLegacyColorModeEnabled(IPlatformElementConfiguration<Android,VisualElement>)

Source:
VisualElement.cs
Source:
VisualElement.cs

Gets whether or not the legacy color mode for this element is enabled.

public:
[System::Runtime::CompilerServices::Extension]
 static bool GetIsLegacyColorModeEnabled(Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::Android ^, Microsoft::Maui::Controls::VisualElement ^> ^ config);
public static bool GetIsLegacyColorModeEnabled (this Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Android,Microsoft.Maui.Controls.VisualElement> config);
static member GetIsLegacyColorModeEnabled : Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Android, Microsoft.Maui.Controls.VisualElement> -> bool
<Extension()>
Public Function GetIsLegacyColorModeEnabled (config As IPlatformElementConfiguration(Of Android, VisualElement)) As Boolean

Parameters

config
IPlatformElementConfiguration<Android,VisualElement>

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

Returns

true if legacy color mode is enabled for this element, otherwise false.

Applies to