Method SetMark NamespaceTerminal.Gui.Views AssemblyTerminal.Gui.dll SetMark(int, bool) Sets the marked state of the specified item. public 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 ShowMarks is true.