Shell.SetForegroundColor(BindableObject, Color) Method

Definition

Defines the foreground color for the tab bar. If the property is unset, the ForegroundColorProperty value is used.

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

Parameters

obj
BindableObject

The object to which the foreground color is set.

value
Color

The foreground color for the tab bar.

Applies to