Spread WinForms 15
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / Color Structure / IsKnownColor Method


In This Topic
IsKnownColor Method
In This Topic
Gets a value indicating whether this Color structure is a predefined color. Predefined colors are represented by the elements of the KnownColor enumeration.
Syntax
'Declaration
 
Public Function IsKnownColor() As Boolean
 
'Usage
 
Dim instance As Color
Dim value As Boolean
 
value = instance.IsKnownColor()

Return Value

true if this Color was created from a predefined color; otherwise, false.
See Also