Table of Contents

Property IsKnownColor

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

IsKnownColor

Gets a value indicating whether this Color structure is a predefined color. Predefined colors are represented by the elements of the KnownColor enumeration.

[Browsable(false)]
public bool IsKnownColor { get; }

Property Value

bool

true if this Color was created from a predefined color by using either the FromName(string) method or the FromKnownColor(KnownColor) method; otherwise, false.