Color.IsSystemColor

Color.IsSystemColor property

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.

public bool IsSystemColor { get; }

Property Value

true if this Color was created from a system color by using either the String) method or the KnownColor) method; otherwise, false.

See Also