Share via


ProfessionalColorTable.UseSystemColors 屬性

定義

取得或設定值,指出是否要使用 SystemColors 而非與目前視覺化樣式相符的色彩。

public:
 property bool UseSystemColors { bool get(); void set(bool value); };
public bool UseSystemColors { get; set; }
member this.UseSystemColors : bool with get, set
Public Property UseSystemColors As Boolean

屬性值

true 表示使用 SystemColors,否則為 false。 預設為 false

備註

如果關閉視覺化樣式或主題,則會 ToolStripProfessionalRenderer 使用 中的 SystemColors 色彩。

適用於