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

◆ create() [11/24]

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

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

Parameters
itemsA choice::object_collection representing the items in the domain_up_down.
selected_indexA zero-based index of the currently selected item. The xtd::forms::domain_up_down::object_collection::npos is returned if no item is selected.
locationA xtd::drawing::point that represent location of the xtd::forms::domain_up_down.
sizeA xtd::drawing::size that represent size of the xtd::forms::domain_up_down.
Returns
New xtd::forms::domain_up_down created.