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