Share via


VisualElement.GetIsLegacyColorModeEnabled Method

Definition

Overloads

GetIsLegacyColorModeEnabled(BindableObject)

Returns whether or not the legacy color mode is enabled.

GetIsLegacyColorModeEnabled(IPlatformElementConfiguration<iOS,VisualElement>)

Returns whether or not the legacy color mode is enabled.

GetIsLegacyColorModeEnabled(BindableObject)

Source:
VisualElement.cs
Source:
VisualElement.cs

Returns whether or not the legacy color mode 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 platform specific element on which to perform the operation.

Returns

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

Applies to

GetIsLegacyColorModeEnabled(IPlatformElementConfiguration<iOS,VisualElement>)

Source:
VisualElement.cs
Source:
VisualElement.cs

Returns whether or not the legacy color mode is enabled.

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

Parameters

config
IPlatformElementConfiguration<iOS,VisualElement>

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

Returns

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

Applies to