Table of Contents

Method Render

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

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

This method is invoked to render a specified item, the method should cover the entire provided width.

void Render(ListView container, ConsoleDriver driver, bool selected, int item, int col, int line, int width, int start = 0)

Parameters

container ListView

The list view to render.

driver ConsoleDriver

The console driver to render.

selected bool

Describes whether the item being rendered is currently selected by the user.

item int

The index of the item to render, zero for the first item and so on.

col int

The column where the rendering will start

line int

The line where the rendering will be done.

width int

The width that must be filled out.

start int

The index of the string to be displayed.

Remarks

The default color will be set before this method is invoked, and will be based on whether the item is selected or not.