10 references to IsKnownColor
System.Drawing.Primitives (6)
System\Drawing\Color.cs (5)
376
public bool IsNamedColor => ((state & StateNameValid) != 0) ||
IsKnownColor
;
378
public bool IsSystemColor =>
IsKnownColor
&& IsKnownColorSystem((KnownColor)knownColor);
399
if (
IsKnownColor
)
423
if (
IsKnownColor
)
598
if (name != null && !
IsKnownColor
)
System\Drawing\ColorTranslator.cs (1)
53
if (c.
IsKnownColor
&& c.IsSystemColor)
System.Windows.Forms.Primitives (4)
System\Windows\Forms\DeviceContextExtensions.cs (1)
109
/// state that would otherwise be stripped, notably things like <see cref="Color.
IsKnownColor
"/> which allows
System\Windows\Forms\GdiPlus\GdiPlusCache.cs (2)
29
if (color.
IsKnownColor
)
46
if (color.
IsKnownColor
)
System\Windows\Forms\SystemDrawingExtensions.cs (1)
24
/// state that would otherwise be stripped, notably things like <see cref="Color.
IsKnownColor
"/> which allows