Aracılığıyla paylaş


Shell.SetForegroundColor(BindableObject, Color) Yöntem

Tanım

Sekme çubuğunun ön plan rengini tanımlar. Özelliği ayarlanmamışsa ForegroundColorProperty , değer kullanılır.

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)

Parametreler

obj
BindableObject

Ön plan renginin ayarlandığı nesne.

value
Color

Sekme çubuğunun ön plan rengi.

Şunlara uygulanır