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

◆ selected_index() [1/2]

list_control & xtd::forms::checked_list_box::selected_index ( size_t  selected_index)
overridevirtual

When overridden in a derived class, Sets the zero-based index of the currently selected item.

Parameters
selected_indexA zero-based index of the currently selected item. The xtd::forms::checked_list_box::object_collection::npos is returned if no item is selected.
Returns
Current list_control.

Implements xtd::forms::list_control.

Examples
demo.cpp.