Udostępnij za pośrednictwem


VisualElement.SetIsLegacyColorModeEnabled Metoda

Definicja

Przeciążenia

SetIsLegacyColorModeEnabled(BindableObject, Boolean)

Określa, czy jest włączony starszy tryb kolorów.

SetIsLegacyColorModeEnabled(IPlatformElementConfiguration<iOS,VisualElement>, Boolean)

Określa, czy jest włączony starszy tryb kolorów.

SetIsLegacyColorModeEnabled(BindableObject, Boolean)

Źródło:
VisualElement.cs
Źródło:
VisualElement.cs
Źródło:
VisualElement.cs

Określa, czy jest włączony starszy tryb kolorów.

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

Element specyficzny dla platformy, na którym ma być wykonywana operacja.

value
Boolean

true aby włączyć starszy tryb kolorów. W przeciwnym razie wartość false.

Dotyczy

SetIsLegacyColorModeEnabled(IPlatformElementConfiguration<iOS,VisualElement>, Boolean)

Źródło:
VisualElement.cs
Źródło:
VisualElement.cs
Źródło:
VisualElement.cs

Określa, czy jest włączony starszy tryb kolorów.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::iOS ^, Microsoft::Maui::Controls::VisualElement ^> ^ SetIsLegacyColorModeEnabled(Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::iOS ^, Microsoft::Maui::Controls::VisualElement ^> ^ config, bool value);
public static Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS,Microsoft.Maui.Controls.VisualElement> SetIsLegacyColorModeEnabled(this Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS,Microsoft.Maui.Controls.VisualElement> config, bool value);
static member SetIsLegacyColorModeEnabled : Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS, Microsoft.Maui.Controls.VisualElement> * bool -> Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS, Microsoft.Maui.Controls.VisualElement>
<Extension()>
Public Function SetIsLegacyColorModeEnabled (config As IPlatformElementConfiguration(Of iOS, VisualElement), value As Boolean) As IPlatformElementConfiguration(Of iOS, VisualElement)

Parametry

config
IPlatformElementConfiguration<iOS,VisualElement>

Konfiguracja specyficzna dla platformy zawierająca element, na którym ma być wykonywana operacja.

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.

Dotyczy