102 void push_back(
const char*
text);
103 #if defined(__cpp_lib_char8_t) 114 using base::operator [];
119 std::optional<value_type> operator [](
const xtd::ustring& name)
const;
124 std::optional<value_type> operator [](
const xtd::ustring& name);
136 static const size_t npos = std::numeric_limits<size_t>::max();
175 virtual
size_t selected_index() const noexcept;
179 virtual
tab_control& selected_index(
size_t selected_index);
230 drawing::size measure_control() const noexcept override;
235 void on_handle_created(const
event_args&
e) override;
239 virtual
void on_selected_index_changed(const
event_args&
e);
246 size_t get_child_index(
intptr page);
253 void on_tab_pages_item_added(
size_t,
control_ref item);
254 void on_tab_pages_item_removed(
size_t,
control_ref item);
260 std::shared_ptr<data> data_;
Contains xtd::forms::tab_page_ref typedef.
intmax_t intptr
Represent a pointer or a handle.
Definition: types.h:151
Represents the base class for classes that contain event data, and provides a value to use for events...
Definition: event_args.h:18
Represents an ordered pair of integer x- and y-coordinates that defines a point in a two-dimensional ...
Definition: point.h:54
Stores an ordered pair of integers, which specify a height and width.
Definition: size.h:31
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
Contains xtd::forms::const_tab_page_ref typedef.
Represents text as a sequence of UTF-8 code units.
Definition: ustring.h:46
Represents an event.
Definition: event.h:21
Contains xtd::forms::image_list component.
Represents a collection of controls.
Definition: tab_control.h:40
xtd::forms::style_sheets::control form
The form data allows you to specify the box of a form control.
Definition: form.h:21
Represents a single tab page in a tab_control.
Definition: tab_page.h:31
Contains xtd::forms::tab_alignment enum class.
char32_t char32
Represents a 32-bit unicode character.
Definition: types.h:85
Contains xtd::forms::control control.
static const ustring empty_string
Represents the empty string.
Definition: ustring.h:53
char8_t char8
Represents a 8-bit unicode character.
Definition: types.h:62
char16_t char16
Represents a 16-bit unicode character.
Definition: types.h:74
size_t size
Represents a size of any object in bytes.
Definition: types.h:195
wchar_t wchar
Represents a wide character.
Definition: types.h:284