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) |
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
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
The platform configuration for the visual element on the Android platform whose legacy color mode status to get.
Returns
A Boolean value that tells whether the legacy color mode is enabled.