Method GetColorOrException
GetColorOrException(string)
Gets a color by its name or raises an exception if no color is registered for the specified name.
public static Color GetColorOrException(string name)
Parameters
name
string
Returns
Exceptions
- ArgumentException
The color was not found.