69 virtual
char32 password_char() const noexcept;
79 const
xtd::
string& placeholder_text() const noexcept;
89 size_t selection_length() const noexcept override;
95 size_t selection_start() const noexcept override;
97 const
xtd::
string& text() const noexcept override;
103 virtual
bool use_system_password_char() const noexcept;
108 virtual
text_box& use_system_password_char(
bool value);
114 void append_text(const
xtd::
string& value) override;
116 void select(
size_t start,
size_t length) override;
128 static
text_box create(const drawing::point& location);
139 static
text_box create(const drawing::point& location, const drawing::
size&
size, const
xtd::
string& name);
148 static
text_box create(const
xtd::
string& text, const drawing::point& location);
154 static
text_box create(const
xtd::
string& text, const drawing::point& location, const drawing::
size&
size);
161 static
text_box create(const
xtd::
string& text, const drawing::point& location, const drawing::
size&
size, const
xtd::
string& name);
194 static
text_box create(const
control& parent, const
xtd::
string& text, const drawing::point& location);
225 drawing::color default_back_color() const noexcept override;
226 drawing::color default_fore_color() const noexcept override;
238 drawing::
size measure_control() const noexcept override;
Contains xtd::forms::character_casing enum class.
Represents the base class for classes that contain event data, and provides a value to use for events...
Definition event_args.hpp:18
Represents an event.
Definition event.hpp:21
Implements the basic functionality required by text controls.
Definition text_box_base.hpp:26
Represents a standard Windows text box.
Definition text_box.hpp:31
text_box()
initializes a new instance of the text_box class.
virtual bool accepts_return() const noexcept
Gets a value indicating whether pressing ENTER in a multiline text_box control creates a new line of ...
generic_event_handler<> event_handler
Represents the method that will handle an event that has no event data.
Definition event_handler.hpp:32
#define forms_export_
Define shared library export.
Definition forms_export.hpp:13
std::unique_ptr< type_t > uptr
The xtd::uptr object is a unique pointer.
Definition uptr.hpp:25
size_t size
Represents a size of any object in bytes.
Definition size.hpp:23
char32_t char32
Represents a 32-bit unicode character.
Definition char32.hpp:26
std::shared_ptr< type_t > sptr
The xtd::sptr object is a shared pointer.
Definition sptr.hpp:25
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10
Contains xtd::forms::style_sheets::border_style class.
Contains xtd::forms::text_box_base control.