Share via


Shell.GetForegroundColor(BindableObject) Method

Definition

Gets the foreground color for the tab bar.

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

Parameters

obj
BindableObject

The object to which the foreground color is set.

Returns

The foreground color for the tab bar.

Applies to