Spread Windows Forms 15.0
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.
    Public Function IsKnownColor() As Boolean
    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