Table of Contents

Method SetSelection

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

SetSelection(int, int, bool, ICommandContext?)

Moves the cursor to the given col/row in Table. Optionally starts a box selection (see MultiSelect).

public void SetSelection(int col, int row, bool extendExistingSelection, ICommandContext? ctx = null)

Parameters

col int

Column index.

row int

Row index.

extendExistingSelection bool

True to create a multi cell selection or adjust an existing one

ctx ICommandContext

The command context.