TabbedPage.SetBarItemColor 方法

定义

重载

SetBarItemColor(BindableObject, Color)
已过时.

设置栏项的颜色。

SetBarItemColor(IPlatformElementConfiguration<Android,TabbedPage>, Color)
已过时.

设置栏项的颜色。

SetBarItemColor(BindableObject, Color)

注意

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

设置栏项的颜色。

[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

参数

element
BindableObject

要设置其值的元素。

value
Color

新栏项颜色值。

属性
System.ComponentModel.EditorBrowsableAttribute System.ObsoleteAttribute

适用于

SetBarItemColor(IPlatformElementConfiguration<Android,TabbedPage>, Color)

注意

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

设置栏项的颜色。

[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>

参数

config
IPlatformElementConfiguration<Android,TabbedPage>

要设置其值的元素的平台配置。

value
Color

新栏项颜色值。

返回

开发者可对其进行进一步的方法调用的 fluent 对象。

属性
System.ComponentModel.EditorBrowsableAttribute System.ObsoleteAttribute

适用于