ProfessionalColorTable.UseSystemColors Property

 

Gets or sets a value indicating whether to use SystemColors rather than colors that match the current visual style.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public bool UseSystemColors { get; set; }

Property Value

Type: System.Boolean

true to use SystemColors; otherwise, false. The default is false.

If visual styles or themes are turned off, the ToolStripProfessionalRenderer uses the colors in SystemColors.

.NET Framework
Available since 2.0
Return to top
Show: