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

◆ create() [21/24]

static combo_box xtd::forms::combo_box::create ( const control parent,
const object_collection items,
size_t  selected_index 
)
static

A factory to create an xtd::forms::combo_box with specified parent, items, and selected_index.

Parameters
parentThe parent that contains the new created xtd::forms::combo_box.
itemsA choice::object_collection representing the items in the combo_box.
selected_indexA zero-based index of the currently selected item. The xtd::forms::combo_box::object_collection::npos is returned if no item is selected.
Returns
New xtd::forms::combo_box created.