Method TryParseColor | Terminal.Gui v2 (original) (raw)

Namespace

Terminal.Gui

Assembly

Terminal.Gui.dll

TryParseColor(ReadOnlySpan, 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.

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

Parameters

name ReadOnlySpan<char>

color Color

Returns

bool

Edit this page