语言

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

适用于