ServiceHealthSection.ForegroundColor 属性

定义

获取或设置该部分的前景色。

public:
 property System::String ^ ForegroundColor { System::String ^ get(); void set(System::String ^ value); };
public string ForegroundColor { get; set; }
member this.ForegroundColor : string with get, set
Public Property ForegroundColor As String

属性值

一个表示节的前景色的字符串。

例外

设置操作中的字符串为 nullEmpty,或仅由空白字符组成。

注解

属性的值 ForegroundColor 是十六进制颜色字符串。 默认值为“#000000”或 Color.Black

适用于