共用方式為


Shell.SetTitleColor(BindableObject, Color) 方法

定義

設定用於目前頁面標題的色彩。

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

參數

obj
BindableObject

要設定色彩的物件。

value
Color

用於目前頁面標題的色彩。

適用於