Spread Windows Forms 12.0 Product Documentation
IsKnownColor Method


GrapeCity.Spreadsheet Assembly > GrapeCity.Spreadsheet Namespace > Color Structure : IsKnownColor Method
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()
public bool IsKnownColor()

Return Value

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

Reference

Color Structure
Color Members