Method TryNameColor | Terminal.Gui v2 (original) (raw)
Namespace
Assembly
Terminal.Gui.dll
TryNameColor(Color, out string?)
Returns true if color
is a recognized color. In which case name
will be the name of the color and return value will be true otherwise false.
public bool TryNameColor(Color color, out string? name)
Parameters
color
Color
name
string