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

Definition

Contains domain up down 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 domain_up_down 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 end_update (intptr control)
 Resumes painting the domain_up_down 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::domain_up_down::begin_update ( intptr  control)
staticprotected

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

Parameters
controlDomain up downwindow handle.
Warning
Internal use only

◆ delete_item()

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

Deletes specified item index.

Parameters
controlDomain up down window handle.
indexThe item index to delete.
Warning
Internal use only

◆ end_update()

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

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

Parameters
controlDomain up down window handle.
Warning
Internal use only

◆ insert_item()

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

Inserts at specified item index a specified value.

Parameters
controlDomain up down window handle.
indexThe item index to insert.
valueThe text value.
Warning
Internal use only

◆ selected_index() [1/2]

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

Gets selected item index.

Parameters
controlDomain up down window handle.
Returns
The selected item index.
Warning
Internal use only

◆ selected_index() [2/2]

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

Sets selected item with specified index.

Parameters
controlDomain up down window handle.
indexThe selected item index.
Warning
Internal use only

◆ update_item()

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

Updates a specified item index with specified value.

Parameters
controlDomain up down 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: