xtd 0.2.0
Loading...
Searching...
No Matches
xtd::forms::native::combo_box Class Referencefinal
Inheritance diagram for xtd::forms::native::combo_box:
xtd::static_object

Definition

Contains combo box native API.

Namespace
xtd::forms::native
Library
xtd.forms.native
Warning
Internal use only

Protected Static Methods

static void begin_update (intptr control)
 Maintains performance while items are added to the combo_box one at a time by preventing the control from drawing until the end_update() method is called.
 
static void delete_item (intptr control, size_t index)
 Deletes specified item index.
 
static void dropped_down (intptr control, bool value)
 Sets a value indicating whether the combo box is displaying its drop-down portion.
 
static void end_update (intptr control)
 Resumes painting the combo_box control after painting is suspended by the begin_update method.
 
static void insert_item (intptr control, size_t index, const xtd::string &value)
 Inserts at specified item index a specified value.
 
static size_t selected_index (intptr control)
 Gets selected item index.
 
static void selected_index (intptr control, size_t index)
 Sets selected item with specified index.
 
static void update_item (intptr control, size_t index, const xtd::string &value)
 Updates a specified item index with specified value.
 

Member Function Documentation

◆ begin_update()

static void xtd::forms::native::combo_box::begin_update ( intptr  control)
staticprotected

Maintains performance while items are added to the combo_box one at a time by preventing the control from drawing until the end_update() method is called.

Parameters
controlCombo box window handle.
Warning
Internal use only

◆ delete_item()

static void xtd::forms::native::combo_box::delete_item ( intptr  control,
size_t  index 
)
staticprotected

Deletes specified item index.

Parameters
controlCombo box window handle.
indexThe item index to delete.
Warning
Internal use only

◆ dropped_down()

static void xtd::forms::native::combo_box::dropped_down ( intptr  control,
bool  value 
)
staticprotected

Sets a value indicating whether the combo box is displaying its drop-down portion.

Parameters
controlCombo box window handle.
valuetrue if the drop-down portion is displayed; otherwise, false.
Warning
Internal use only

◆ end_update()

static void xtd::forms::native::combo_box::end_update ( intptr  control)
staticprotected

Resumes painting the combo_box control after painting is suspended by the begin_update method.

Parameters
controlCombo box window handle.
Warning
Internal use only

◆ insert_item()

static void xtd::forms::native::combo_box::insert_item ( intptr  control,
size_t  index,
const xtd::string value 
)
staticprotected

Inserts at specified item index a specified value.

Parameters
controlCombo box window handle.
indexThe item index to insert.
valueThe text value.
Warning
Internal use only

◆ selected_index() [1/2]

static size_t xtd::forms::native::combo_box::selected_index ( intptr  control)
staticprotected

Gets selected item index.

Parameters
controlCombo box window handle.
Returns
The selected item index.
Warning
Internal use only

◆ selected_index() [2/2]

static void xtd::forms::native::combo_box::selected_index ( intptr  control,
size_t  index 
)
staticprotected

Sets selected item with specified index.

Parameters
controlCombo box window handle.
indexThe selected item index.
Warning
Internal use only

◆ update_item()

static void xtd::forms::native::combo_box::update_item ( intptr  control,
size_t  index,
const xtd::string value 
)
staticprotected

Updates a specified item index with specified value.

Parameters
controlCombo box window handle.
indexThe item index to update.
valueThe text value.
Warning
Internal use only

The documentation for this class was generated from the following file: