xtd 0.2.0
Loading...
Searching...
No Matches

◆ selected_index() [2/3]

virtual size_t xtd::forms::list_control::selected_index ( ) const
virtualnoexcept

Gets the zero-based index of the currently selected item.

Returns
A zero-based index of the currently selected item. A value of negative one (-1) is returned if no item is selected.

Reimplemented from xtd::forms::list_control.