VisualElement.GetIsLegacyColorModeEnabled Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Přetížení
GetIsLegacyColorModeEnabled(BindableObject) |
Získá zda starší režim barvy pro tento prvek je povolen. |
GetIsLegacyColorModeEnabled(IPlatformElementConfiguration<Android,VisualElement>) |
Získá zda starší režim barvy pro tento prvek je povolen. |
GetIsLegacyColorModeEnabled(BindableObject)
- Zdroj:
- VisualElement.cs
- Zdroj:
- VisualElement.cs
- Zdroj:
- VisualElement.cs
Získá zda starší režim barvy pro tento prvek je povolen.
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
Parametry
- element
- BindableObject
Prvek na platformě Android, jehož stav starší verze barevného režimu získáte.
Návraty
true
pokud je pro tento prvek povolen starší barevný režim, jinak false
.
Platí pro
GetIsLegacyColorModeEnabled(IPlatformElementConfiguration<Android,VisualElement>)
- Zdroj:
- VisualElement.cs
- Zdroj:
- VisualElement.cs
- Zdroj:
- VisualElement.cs
Získá zda starší režim barvy pro tento prvek je povolen.
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
Parametry
Konfigurace platformy pro vizuální prvek na platformě Android, jejíž stav starší verze barevného režimu získáte.
Návraty
true
pokud je pro tento prvek povolen starší barevný režim, jinak false
.