46 virtual bool accepts_return()
const noexcept;
51 virtual text_box& accepts_return(
bool value);
67 virtual char32 password_char()
const noexcept;
87 size_t selection_length()
const noexcept
override;
93 size_t selection_start()
const noexcept
override;
101 virtual bool use_system_password_char()
const noexcept;
106 virtual text_box& use_system_password_char(
bool value);
113 void select(
size_t start,
size_t length)
override;
129 drawing::color default_back_color() const noexcept override;
130 drawing::color default_fore_color() const noexcept override;
136 drawing::
size measure_control() const noexcept override;
140 virtual
void on_accepts_return_changed(const
event_args&
e);
142 void on_handle_created(const
event_args& e) override;
143 void on_text_changed(const
event_args& e) override;
153 void wm_set_text(message& message);
157 std::shared_ptr<data> data_;
Represents the base class for classes that contain event data, and provides a value to use for events...
Definition: event_args.h:18
virtual size_t selection_start() const noexcept
Gets o the starting point of text selected in the text box.
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
Implements the basic functionality required by text controls.
Definition: text_box_base.h:24
Represents text as a sequence of UTF-8 code units.
Definition: ustring.h:46
Represents a standard Windows text box.
Definition: text_box.h:29
Represents an event.
Definition: event.h:21
virtual size_t selection_length() const noexcept
Gets the number of characters selected in the text box.
Contains xtd::forms::character_casing enum class.
Contains xtd::forms::text_box_base control.
char32_t char32
Represents a 32-bit unicode character.
Definition: types.h:85
event< text_box, event_handler > accepts_return_changed
Occurs when the value of the accepts_return property has changed.
Definition: text_box.h:121
Contains xtd::forms::border_style enum class.
size_t size
Represents a size of any object in bytes.
Definition: types.h:195