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; }
 
Public Property SelectedIndex As Integer
	Get
	Set
 
public:
virtual property int SelectedIndex {
	int get () sealed;
	void set (int value) sealed;
}
 
abstract SelectedIndex : int with get, set
override SelectedIndex : int with 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