|
static |
A factory to create an xtd::forms::list_box with specified items, and selected_index.
items | A choice::object_collection representing the items in the list_box. |
selected_index | A zero-based index of the currently selected item. The xtd::forms::list_box::object_collection::npos is returned if no item is selected. |