|
static |
A factory to create an xtd::forms::choice with specified parent, items, selected_index, location, size, and name.
parent | The parent that contains the new created xtd::forms::choice. |
items | A choice::object_collection representing the items in the choice. |
selected_index | A zero-based index of the currently selected item. The xtd::forms::choice::object_collection::npos is returned if no item is selected. |
location | A xtd::drawing::point that represent location of the xtd::forms::choice. |
size | A xtd::drawing::size that represent size of the xtd::forms::choice. |
name | The name of the xtd::forms::choice. |