Table of Contents

Method SetColors

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

SetColors(ConsoleColor, ConsoleColor)

Set Colors from limit sets of colors. Not implemented by any driver: See Issue #2300.

public abstract void SetColors(ConsoleColor foreground, ConsoleColor background)

Parameters

foreground ConsoleColor

Foreground.

background ConsoleColor

Background.

SetColors(short, short)

Advanced uses - set colors to any pre-set pairs, you would need to init_color that independently with the R, G, B values. Not implemented by any driver: See Issue #2300.

public abstract void SetColors(short foregroundColorId, short backgroundColorId)

Parameters

foregroundColorId short

Foreground color identifier.

backgroundColorId short

Background color identifier.