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

用于当前页标题的颜色。

适用于