Table of Contents

Constructor TableSelection

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

TableSelection(Point, IReadOnlyList<TableSelectionRegion>?)

Creates a new TableSelection with the specified cursor and regions.

public TableSelection(Point cursor, IReadOnlyList<TableSelectionRegion>? regions)

Parameters

cursor Point

The cursor cell position (navigation anchor). Must not be null.

regions IReadOnlyList<TableSelectionRegion>

All extended selection regions (may be empty for cursor-only selection).

TableSelection(Point)

Creates a cursor-only TableSelection with no extended regions.

public TableSelection(Point cursor)

Parameters

cursor Point

The cursor cell position.