## ListBox::SetSelectedIndex method


Gets or sets the index number of the currently selected item in a list box or combo box. Zero-based.

```cpp
void Aspose::Cells::Drawing::ListBox::SetSelectedIndex(int32_t value)
```

## Remarks


-1 presents no item is selected.
## See Also

* Class [Vector](../../../aspose.cells/vector/)
* Class [ListBox](../)
* Namespace [Aspose::Cells::Drawing](../../)
* Library [Aspose.Cells for C++](../../../)
