Color.IsSystemColor Property
.NET Framework 2.0
Gets a value indicating 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.
Namespace: System.Drawing
Assembly: System.Drawing (in system.drawing.dll)
Assembly: System.Drawing (in system.drawing.dll)
/** @property */ public boolean get_IsSystemColor ()
public function get IsSystemColor () : boolean
Not applicable.
Property Value
true if this Color was created from a system color by using either the FromName method or the FromKnownColor method; otherwise, false.This property does not do a comparison of the ARGB values. Therefore, when the IsSystemColor property is applied to a Color structure that is created by using the FromArgb method, IsSystemColor returns false, even if the ARGB value matches the ARGB value of a system color.
Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.Community Additions
ADD
Show: