Udostępnij za pośrednictwem


TabbedPage.SetBarItemColor Metoda

Definicja

Przeciążenia

SetBarItemColor(BindableObject, Color)
Przestarzałe.

Ustawia kolor elementów słupków.

SetBarItemColor(IPlatformElementConfiguration<Android,TabbedPage>, Color)
Przestarzałe.

Ustawia kolor elementów słupków.

SetBarItemColor(BindableObject, Color)

Przestroga

BarItemColor is obsolete as of version 4.0. Please use TabbedPage.UnselectedTabColor instead.

Ustawia kolor elementów słupków.

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[System.Obsolete("BarItemColor is obsolete as of version 4.0. Please use TabbedPage.UnselectedTabColor instead.")]
public static void SetBarItemColor (Xamarin.Forms.BindableObject element, Xamarin.Forms.Color value);
static member SetBarItemColor : Xamarin.Forms.BindableObject * Xamarin.Forms.Color -> unit

Parametry

element
BindableObject

Element, którego wartość ma zostać ustawiona.

value
Color

Nowa wartość koloru elementu słupka.

Atrybuty
System.ComponentModel.EditorBrowsableAttribute System.ObsoleteAttribute

Dotyczy

SetBarItemColor(IPlatformElementConfiguration<Android,TabbedPage>, Color)

Przestroga

BarItemColor is obsolete as of version 4.0. Please use TabbedPage.UnselectedTabColor instead.

Ustawia kolor elementów słupków.

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[System.Obsolete("BarItemColor is obsolete as of version 4.0. Please use TabbedPage.UnselectedTabColor instead.")]
public static Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Android,Xamarin.Forms.TabbedPage> SetBarItemColor (this Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Android,Xamarin.Forms.TabbedPage> config, Xamarin.Forms.Color value);
static member SetBarItemColor : Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Android, Xamarin.Forms.TabbedPage> * Xamarin.Forms.Color -> Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Android, Xamarin.Forms.TabbedPage>

Parametry

config
IPlatformElementConfiguration<Android,TabbedPage>

Konfiguracja platformy dla elementu, którego wartość ma zostać ustawiona.

value
Color

Nowa wartość koloru elementu słupka.

Zwraca

Płynny obiekt, na którym deweloper może wykonywać kolejne wywołania metody.

Atrybuty
System.ComponentModel.EditorBrowsableAttribute System.ObsoleteAttribute

Dotyczy