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

Definition

Contains numeric up down native API.

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

Protected Static Methods

static void decimal_place (intptr control, int32 decimal_place)
 Sets the number of decimal places to display in the spin box (also known as an up-down control).
 
static void increment (intptr control, double increment)
 Sets the value to increment or decrement the spin box (also known as an up-down control) when the up or down buttons are clicked.
 
static void maximum (intptr control, double maximum)
 Sets the maximum value for the spin box (also known as an up-down control).
 
static void minimum (intptr control, double minimum)
 Sets the minimum value for the spin box (also known as an up-down control).
 
static double value (intptr control)
 Gets the value assigned to the spin box (also known as an up-down control).
 
static void value (intptr control, double value)
 Sets the value assigned to the spin box (also known as an up-down control).
 

Member Function Documentation

◆ decimal_place()

static void xtd::forms::native::numeric_up_down::decimal_place ( intptr  control,
int32  decimal_place 
)
staticprotected

Sets the number of decimal places to display in the spin box (also known as an up-down control).

Parameters
controlNumeric up down window handle.
decimal_placeThe number of decimal places to display in the spin box.
Warning
Internal use only

◆ increment()

static void xtd::forms::native::numeric_up_down::increment ( intptr  control,
double  increment 
)
staticprotected

Sets the value to increment or decrement the spin box (also known as an up-down control) when the up or down buttons are clicked.

Parameters
controlNumeric up down window handle.
incrementThe value to increment or decrement the Value property when the up or down buttons are clicked on the spin box.
Warning
Internal use only

◆ maximum()

static void xtd::forms::native::numeric_up_down::maximum ( intptr  control,
double  maximum 
)
staticprotected

Sets the maximum value for the spin box (also known as an up-down control).

Parameters
controlNumeric up down window handle.
maximumThe maximum value for the spin box.
Warning
Internal use only

◆ minimum()

static void xtd::forms::native::numeric_up_down::minimum ( intptr  control,
double  minimum 
)
staticprotected

Sets the minimum value for the spin box (also known as an up-down control).

Parameters
controlNumeric up down window handle.
minimumThe maximum value for the spin box.
Warning
Internal use only

◆ value() [1/2]

static double xtd::forms::native::numeric_up_down::value ( intptr  control)
staticprotected

Gets the value assigned to the spin box (also known as an up-down control).

Parameters
controlNumeric up down window handle.
Returns
The numeric value of the numeric_up_down control.
Warning
Internal use only

◆ value() [2/2]

static void xtd::forms::native::numeric_up_down::value ( intptr  control,
double  value 
)
staticprotected

Sets the value assigned to the spin box (also known as an up-down control).

Parameters
controlNumeric up down window handle.
valueThe numeric value of the numeric_up_down control.
Warning
Internal use only

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