Contains text box native API.
- Namespace
- xtd::forms::native
- Library
- xtd.forms.native
- Warning
- Internal use only
◆ selection_length()
static size_t xtd::forms::native::text_box::selection_length |
( |
intptr |
control | ) |
|
|
staticprotected |
Gets the number of characters selected in the text box.
- Parameters
-
control | Text box window handle. |
- Returns
- The number of characters selected in the text box.
- Warning
- Internal use only
◆ selection_start()
static size_t xtd::forms::native::text_box::selection_start |
( |
intptr |
control | ) |
|
|
staticprotected |
Gets o the starting point of text selected in the text box.
- Parameters
-
control | Text box window handle. |
- Returns
- The starting position of text selected in the text box.
- Warning
- Internal use only
◆ append()
static void xtd::forms::native::text_box::append |
( |
intptr |
control, |
|
|
const xtd::string & |
text |
|
) |
| |
|
staticprotected |
Appends text to the current text of a text box.
- Parameters
-
control | Text box window handle. |
value | The text to append to the current contents of the text box. |
- Warning
- Internal use only
◆ select()
static void xtd::forms::native::text_box::select |
( |
intptr |
control, |
|
|
size_t |
start, |
|
|
size_t |
length |
|
) |
| |
|
staticprotected |
Selects a range of text in the text box.
- Parameters
-
control | Text box window handle. |
start | The position of the first character in the current text selection within the text box. |
length | The number of characters to select. |
- Warning
- Internal use only
◆ text() [1/2]
Gets text associate to the text box.
- Parameters
-
control | Text box window handle. |
- Returns
- The text string.
- Warning
- Internal use only
◆ text() [2/2]
static void xtd::forms::native::text_box::text |
( |
intptr |
control, |
|
|
const xtd::string & |
text |
|
) |
| |
|
staticprotected |
Sets text associate to the text box.
- Parameters
-
control | Text box window handle. |
text | The text string. |
- Warning
- Internal use only
◆ placeholder_text()
static void xtd::forms::native::text_box::placeholder_text |
( |
intptr |
control, |
|
|
const xtd::string & |
text |
|
) |
| |
|
staticprotected |
Sets the placeholder text (aka hint) associate to the text box.
- Returns
- The text string.
- Warning
- Internal use only
The documentation for this class was generated from the following file: