11#include <xtd/size_object>
104 void push_back(
const char* text);
105#if defined(__cpp_lib_char8_t)
106 void push_back(
const char8* text);
108 void push_back(
const char16* text);
109 void push_back(
const char32* text);
110 void push_back(
const wchar* text);
116 using base::operator [];
138 static const size_t npos = size_object::max_value;
183 virtual
size_t selected_index() const noexcept;
266 std::unique_ptr<
xtd::
object> clone() const override;
268 drawing::
size measure_control() const noexcept override;
284 size_t get_child_index(
intptr page);
291 void on_tab_pages_item_added(
size_t,
tab_page_ref& item);
292 void on_tab_pages_item_removed(
size_t,
tab_page_ref& item);
293 void on_tab_pages_text_added(
size_t index, const
ustring& text, const
ustring& name);
298 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
Represents an event.
Definition event.h:21
Represents a collection of controls.
Definition tab_control.h:42
void push_back(const xtd::ustring &text)
Adds an element to the end.
void push_back(const xtd::ustring &text, const ustring &name)
Adds an element to the end.
void insert_at(size_t index, const xtd::ustring &text, const xtd::ustring &name)
Inserts specified element at specified index.
tab_page_collection(const allocator_type &allocator=allocator_type())
Creates a new object xtd::forms::control::tab_page_collection with specified allocator (optional).
iterator insert(const_iterator pos, const xtd::ustring &text, const xtd::ustring &name)
Inserts specified element at specified position.
iterator insert(const_iterator pos, const xtd::ustring &text)
Inserts specified element at specified position.
void insert_at(size_t index, const xtd::ustring &text)
Inserts specified element at specified index.
Represents a single tab page in a tab_control.
Definition tab_page.h:31
Represents text as a sequence of UTF-8 code units.
Definition ustring.h:47
Contains xtd::forms::const_tab_page_ref typedef.
generic_event_handler<> event_handler
Represents the method that will handle an event that has no event data.
Definition event_handler.h:32
#define forms_export_
Define shared library export.
Definition forms_export.h:13
xtd::forms::style_sheets::control form
The form data allows you to specify the box of a form control.
Definition form.h:21
char8_t char8
Represents a 8-bit unicode character.
Definition types.h:64
wchar_t wchar
Represents a wide character.
Definition types.h:286
char16_t char16
Represents a 16-bit unicode character.
Definition types.h:76
size_t size
Represents a size of any object in bytes.
Definition types.h:197
char32_t char32
Represents a 32-bit unicode character.
Definition types.h:87
intmax_t intptr
Represent a pointer or a handle.
Definition types.h:153
Contains xtd::forms::image_list component.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10
Contains xtd::forms::style_sheets::control class.
Contains xtd::forms::tab_alignment enum class.
Contains xtd::forms::tab_page_ref typedef.