Table of Contents

Method Render

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

Render(ListView, bool, int, int, int, int, int)

Renders the specified item to the ListView.

void Render(ListView listView, bool selected, int item, int col, int row, int width, int viewportX = 0)

Parameters

listView ListView

The ListView to render to.

selected bool

true if the item is currently selected; otherwise false.

item int

The zero-based index of the item to render.

col int

The column in listView Viewport where rendering starts.

row int

The row in listView Viewport where rendering starts.

width int

The width available for rendering.

viewportX int

The horizontal scroll offset.

Remarks

ListView calls this method for each visible item during rendering. The color scheme will be set based on selection state before this method is called.

Implementations must fill the entire width to avoid rendering artifacts.