ListBox.SelectedItem

ListBox.SelectedItem method

Sets whether the item is selected

public void SelectedItem(int itemIndex, bool isSelected)
ParameterTypeDescription
itemIndexInt32The item index
isSelectedBooleanWhether the item is selected. True means that this item should be selected. False means that this item should be unselected.

See Also