VisualElement.SetIsLegacyColorModeEnabled Metoda
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Przeciążenia
SetIsLegacyColorModeEnabled(BindableObject, Boolean) |
Określa, czy jest włączony starszy tryb kolorów dla tego elementu. |
SetIsLegacyColorModeEnabled(IPlatformElementConfiguration<Android,VisualElement>, Boolean) |
Określa, czy jest włączony starszy tryb kolorów dla tego elementu. |
SetIsLegacyColorModeEnabled(BindableObject, Boolean)
- Źródło:
- VisualElement.cs
- Źródło:
- VisualElement.cs
Określa, czy jest włączony starszy tryb kolorów dla tego elementu.
public:
static void SetIsLegacyColorModeEnabled(Microsoft::Maui::Controls::BindableObject ^ element, bool value);
public static void SetIsLegacyColorModeEnabled (Microsoft.Maui.Controls.BindableObject element, bool value);
static member SetIsLegacyColorModeEnabled : Microsoft.Maui.Controls.BindableObject * bool -> unit
Public Sub SetIsLegacyColorModeEnabled (element As BindableObject, value As Boolean)
Parametry
- element
- BindableObject
Konfiguracja platformy dla elementu wizualizacji na platformie Android, którego stan starszego trybu kolorów ma być ustawiony.
- value
- Boolean
true
aby włączyć starszy tryb kolorów. W przeciwnym razie wartość false
.
Dotyczy
SetIsLegacyColorModeEnabled(IPlatformElementConfiguration<Android,VisualElement>, Boolean)
- Źródło:
- VisualElement.cs
- Źródło:
- VisualElement.cs
Określa, czy jest włączony starszy tryb kolorów dla tego elementu.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::Android ^, Microsoft::Maui::Controls::VisualElement ^> ^ SetIsLegacyColorModeEnabled(Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::Android ^, Microsoft::Maui::Controls::VisualElement ^> ^ config, bool value);
public static Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Android,Microsoft.Maui.Controls.VisualElement> SetIsLegacyColorModeEnabled (this Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Android,Microsoft.Maui.Controls.VisualElement> config, bool value);
static member SetIsLegacyColorModeEnabled : Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Android, Microsoft.Maui.Controls.VisualElement> * bool -> Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Android, Microsoft.Maui.Controls.VisualElement>
<Extension()>
Public Function SetIsLegacyColorModeEnabled (config As IPlatformElementConfiguration(Of Android, VisualElement), value As Boolean) As IPlatformElementConfiguration(Of Android, VisualElement)
Parametry
Konfiguracja platformy dla elementu wizualizacji na platformie Android, którego stan starszego trybu kolorów ma być ustawiony.
- value
- Boolean
true
aby włączyć starszy tryb kolorów. W przeciwnym razie wartość false
.
Zwraca
Płynny obiekt, na którym deweloper może wykonywać dalsze wywołania metody.