VisualElement.GetIsLegacyColorModeEnabled Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
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
.