Color.IsSystemColor Property
Specifies whether this Color structure is a system color. A system color is a color that is used in a windows display element. System colors are represented by elements of the KnownColor enumeration.
[Visual Basic] Public ReadOnly Property IsSystemColor As Boolean [C#] public bool IsSystemColor {get;} [C++] public: __property bool get_IsSystemColor(); [JScript] public function get IsSystemColor() : Boolean;
Property Value
This property returns true if this Color structure was created from a system color by using either the FromName method or the FromKnownColor method; otherwise, false.
Remarks
This method does not do a comparison of the ARGB values. Therefore, when the IsSystemColor method is applied to a Color structure that is created by using the FromArgb method, the IsSystemColor method returns false, even if the ARGB value matches the ARGB value of a system color.
Requirements
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