SystemColors Class
Each property of the SystemColors class is a Color structure that is the color of a Windows display element.
For a list of all members of this type, see SystemColors Members.
System.Object
System.Drawing.SystemColors
[Visual Basic] NotInheritable Public Class SystemColors [C#] public sealed class SystemColors [C++] public __gc __sealed class SystemColors [JScript] public class SystemColors
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Remarks
Better performance is achieved through the use of the SystemPens object or SystemBrushes object rather than creating a new pen or brush based on a value from the SystemColors object. For example, use SystemBrushes.Control because it is a brush that already exists, whereas new SolidBrush(SystemColors.Control) creates a new brush.
Requirements
Namespace: System.Drawing
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework
Assembly: System.Drawing (in System.Drawing.dll)