Table of Contents

Method Make

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

Make(Color, Color)

Creates an Attribute from the specified foreground and background colors.

public static Attribute Make(Color foreground, Color background)

Parameters

foreground Color

Foreground color to use.

background Color

Background color to use.

Returns

Attribute

The new attribute.

Remarks

If a ConsoleDriver has not been loaded (Application.Driver == null) this method will return an attribute with Initialized set to false.