Table of Contents

Struct Cell

Namespace
Terminal.Gui.Drawing
Assembly
Terminal.Gui.dll

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

public record struct Cell : IEquatable<Cell>
Implements
Inherited Members

Constructors

Cell(Attribute?, bool, string)

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

Properties

Attribute

The attributes to use when drawing the Glyph.

Grapheme

The single grapheme cluster to display from this cell. If Grapheme is null or Empty, then Cell is ignored.

IsDirty

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

Runes

The rune for Grapheme or runes for Grapheme that when combined makes this Cell a combining sequence.

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.