Table of Contents

Method TryParseColor

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

TryParseColor(ReadOnlySpan<char>, out Color)

Returns true if name is a recognized color. In which case color will be the color the name corresponds to otherwise returns false.

bool TryParseColor(ReadOnlySpan<char> name, out Color color)

Parameters

name ReadOnlySpan<char>
color Color

Returns

bool