Shell.SetTabBarUnselectedColor(BindableObject, Color) 方法

定义

设置选项卡栏的未选择颜色。 如果该属性未设置,则使用 UnselectedColor 属性值。

public:
 static void SetTabBarUnselectedColor(Microsoft::Maui::Controls::BindableObject ^ obj, Microsoft::Maui::Graphics::Color ^ value);
public static void SetTabBarUnselectedColor (Microsoft.Maui.Controls.BindableObject obj, Microsoft.Maui.Graphics.Color value);
static member SetTabBarUnselectedColor : Microsoft.Maui.Controls.BindableObject * Microsoft.Maui.Graphics.Color -> unit
Public Shared Sub SetTabBarUnselectedColor (obj As BindableObject, value As Color)

参数

obj
BindableObject

设置颜色的对象。

value
Color

选项卡栏的未选择颜色。

适用于