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

◆ create() [12/24]

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

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

Parameters
itemsThe checked_list_box::object_collection collection representing the items in the checked_list_box.
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.
locationA xtd::drawing::point that represent location of the xtd::forms::checked_list_box.
sizeA xtd::drawing::size that represent size of the xtd::forms::checked_list_box.
nameThe name of the xtd::forms::checked_list_box.
Returns
New xtd::forms::checked_list_box created.