Table of Contents

Operator implicit operator

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

implicit operator int(Attribute)

Implicit conversion from an Attribute to the underlying, driver-specific, Int32 representation of the color.

public static implicit operator int(Attribute c)

Parameters

c Attribute

The attribute to convert

Returns

int

The driver-specific color value stored in the attribute.

implicit operator Attribute(int)

Implicitly convert an driver-specific color value into an Attribute

public static implicit operator Attribute(int v)

Parameters

v int

value

Returns

Attribute

An attribute with the specified driver-specific color value.