Table of Contents

Method SetMark

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

SetMark(int, bool)

Sets the marked state of the specified item.

void SetMark(int item, bool value)

Parameters

item int

The zero-based index of the item.

value bool

true to mark the item; false to unmark it.

Remarks

ListView calls this method when the user toggles marking (e.g., via the SPACE key) if AllowsMarking is true.