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(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>)

Returns the legacy color mode.

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