Click or drag to resize

XlsListBoxShape SelectedIndex Property

Gets or sets the index of the selected item in the ListBox.

Namespace: Spire.Xls.Core.Spreadsheet.Shapes
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public int SelectedIndex { get; set; }

Return Value

Type: Int32
The zero-based index of the currently selected item. Returns -1 if no item is selected.

Implements

IListBox SelectedIndex
See Also