Contains choice native API.
- Namespace
- xtd::forms::native
- Library
- xtd.forms.native
- Warning
- Internal use only
◆ begin_update()
static void xtd::forms::native::choice::begin_update |
( |
intptr |
control | ) |
|
|
staticprotected |
Maintains performance while items are added to the choice one at a time by preventing the control from drawing until the end_update() method is called.
- Parameters
-
control | Choice window handle. |
- Warning
- Internal use only
◆ delete_item()
static void xtd::forms::native::choice::delete_item |
( |
intptr |
control, |
|
|
size_t |
index |
|
) |
| |
|
staticprotected |
Deletes specified item index.
- Parameters
-
control | Choice window handle. |
index | The item index to delete. |
- Warning
- Internal use only
◆ end_update()
static void xtd::forms::native::choice::end_update |
( |
intptr |
control | ) |
|
|
staticprotected |
Resumes painting the checked_list_box control after painting is suspended by the begin_update method.
- Parameters
-
control | Choice window handle. |
- Warning
- Internal use only
◆ insert_item()
static void xtd::forms::native::choice::insert_item |
( |
intptr |
control, |
|
|
size_t |
index, |
|
|
const xtd::string & |
value |
|
) |
| |
|
staticprotected |
Inserts at specified item index a specified value.
- Parameters
-
control | Choice window handle. |
index | The item index to insert. |
value | The text value. |
- Warning
- Internal use only
◆ selected_index() [1/2]
static size_t xtd::forms::native::choice::selected_index |
( |
intptr |
control | ) |
|
|
staticprotected |
Gets selected item index.
- Parameters
-
control | Choice window handle. |
- Returns
- The selected item index.
- Warning
- Internal use only
◆ selected_index() [2/2]
static void xtd::forms::native::choice::selected_index |
( |
intptr |
control, |
|
|
size_t |
index |
|
) |
| |
|
staticprotected |
Sets selected item with specified index.
- Parameters
-
control | Choice window handle. |
index | The selected item index. |
- Warning
- Internal use only
◆ update_item()
static void xtd::forms::native::choice::update_item |
( |
intptr |
control, |
|
|
size_t |
pos, |
|
|
const xtd::string & |
value |
|
) |
| |
|
staticprotected |
Updates a specified item index with specified value.
- Parameters
-
control | Choice window handle. |
index | The item index to update. |
value | The text value. |
- Warning
- Internal use only
The documentation for this class was generated from the following file:
- xtd.forms.native/include/xtd/forms/native/choice.hpp