[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.FormControls.IListBox.SetSelected

SetSelected Method

SetSelected(int, bool)

Sets the selection state of an item in a IListBox.

Declaration
void SetSelected(int index, bool value)
Sub SetSelected(index As Integer, value 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.

bool value

A value indicating whether an item is selected.