ProfessionalColorTable.UseSystemColors Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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