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

◆ create() [10/24]

static combo_box xtd::forms::combo_box::create ( const object_collection items,
size_t  selected_index,
const drawing::point location 
)
static

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

Parameters
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.
locationA xtd::drawing::point that represent location of the xtd::forms::combo_box.
Returns
New xtd::forms::combo_box created.