Share via


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 是十六進位色彩字串。 預設值為 「#0000000」,或 Color.Black

適用於