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