[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.FormControls.IListBox.GetSelected

GetSelected Method

GetSelected(int)

Gets the selection state of an item in a IListBox.

Declaration
bool GetSelected(int index)
Function GetSelected(index As Integer) As Boolean
Parameters
Type Name Description
int index

An integer with a range from 0 to one less than the number of items in the list box.

Returns
Type Description
bool

true if the item is selected; otherwise, false.