Table of Contents

Method RenderCell

Namespace
Terminal.Gui.Views
Assembly
Terminal.Gui.dll

RenderCell(Attribute, string, bool)

Override to provide custom multi-coloring to cells. Use methods like AddStr(string). The terminal cursor will already be in the correct position when rendering. You must render the full render or the view will not look right. For simpler color provision use ColorGetter. For changing the content that is rendered use RepresentationGetter.

protected virtual void RenderCell(Attribute cellAttribute, string render, bool isPrimaryCell)

Parameters

cellAttribute Attribute

The Attribute to use for the cell.

render string
isPrimaryCell bool

True if this cell is the cursor cell (used for inversion).