Table of Contents

Property SelectedItem

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

SelectedItem

This is a convenience property that is an alias for Value. Get or set the index of the currently selected item.

public int? SelectedItem { get; set; }

Property Value

int?

The index of selected item or null if no item is selected.