Shell.GetTabBarBackgroundColor(BindableObject) 方法

定义

获取选项卡栏的背景色。

public:
 static Microsoft::Maui::Graphics::Color ^ GetTabBarBackgroundColor(Microsoft::Maui::Controls::BindableObject ^ obj);
public static Microsoft.Maui.Graphics.Color GetTabBarBackgroundColor (Microsoft.Maui.Controls.BindableObject obj);
static member GetTabBarBackgroundColor : Microsoft.Maui.Controls.BindableObject -> Microsoft.Maui.Graphics.Color
Public Shared Function GetTabBarBackgroundColor (obj As BindableObject) As Color

参数

obj
BindableObject

设置颜色的对象。

返回

选项卡栏的背景色。

适用于