Table of Contents

Method TryParseColor

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

TryParseColor(string, 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(string name, out Color color)

Parameters

name string
color Color

Returns

bool