Struct Cell | Terminal.Gui v2 (original) (raw)

Namespace

Terminal.Gui

Assembly

Terminal.Gui.dll

Represents a single row/column in a Terminal.Gui rendering surface (e.g. LineCanvas andIConsoleDriver).

public record struct Cell : IEquatable<Cell>

Implements

Inherited Members

Constructors

Cell(Attribute?, bool, Rune)

Represents a single row/column in a Terminal.Gui rendering surface (e.g. LineCanvas andIConsoleDriver).

Properties

Attribute

The attributes to use when drawing the Glyph.

IsDirty

Gets or sets a value indicating whether this Cell has been modified since the last time it was drawn.

Rune

The character to display. If Rune is null, then Rune is ignored.

Methods

StringToLinesOfCells(string, Attribute?)

Splits a string into a List that will contain a List for each line.

ToCellList(string, Attribute?)

Converts the string into a List.

ToCells(List)

Splits a rune cell list into a List that will contain a List for each line.

ToString()

Returns the fully qualified type name of this instance.

ToString(IEnumerable)

Converts a Cell generic collection into a string.

ToString(List<List>)

Converts a List generic collection into a string.