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.

public void Render(ListView container, bool marked, int item, int col, int line, int width, int viewportX = 0)

Parameters

container ListView
marked bool
item int

The zero-based index of the item to render.

col int

The column in listView where rendering starts.

line int

The line in listView where rendering occurs.

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.