Table of Contents

Constructor Attribute

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

Attribute()

Initializes a new instance with default values.

public Attribute()

Attribute(in Attribute)

Initializes a new instance from an existing instance.

public Attribute(in Attribute attr)

Parameters

attr Attribute

Attribute(in Color, in Color)

Initializes a new instance of the Attribute struct.

public Attribute(in Color foreground, in Color background)

Parameters

foreground Color

Foreground

background Color

Background

Attribute(in ColorName16, in ColorName16)

Initializes a new instance of the Attribute struct.

public Attribute(in ColorName16 foregroundName, in ColorName16 backgroundName)

Parameters

foregroundName ColorName16

Foreground

backgroundName ColorName16

Background

Attribute(in ColorName16, in Color)

Initializes a new instance of the Attribute struct.

public Attribute(in ColorName16 foregroundName, in Color background)

Parameters

foregroundName ColorName16

Foreground

background Color

Background

Attribute(in Color, in ColorName16)

Initializes a new instance of the Attribute struct.

public Attribute(in Color foreground, in ColorName16 backgroundName)

Parameters

foreground Color

Foreground

backgroundName ColorName16

Background

Attribute(in Color)

Initializes a new instance of the Attribute struct with the same colors for the foreground and background.

public Attribute(in Color color)

Parameters

color Color

The color.