Table of Contents

Struct Cell

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

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

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 and IConsoleDriver).

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<T> for each line.

ToCellList(string, Attribute?)

Converts the string into a List<T>.

ToCells(List<Cell>)

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

ToString()

Returns the fully qualified type name of this instance.

ToString(IEnumerable<Cell>)

Converts a Cell generic collection into a string.

ToString(List<List<Cell>>)

Converts a List<T> generic collection into a string.