11#include <xtd/size_object>
106 void push_back(
const char* text);
107#if defined(__xtd__cpp_lib_char8_t)
108 void push_back(
const char8* text);
110 void push_back(
const char16* text);
111 void push_back(
const char32* text);
112 void push_back(
const wchar* text);
118 using base::operator [];
123 std::optional<value_type> operator [](
const xtd::string& name)
const;
132 event<
tab_page_collection, delegate<void(
size_t index,
const string& text,
const string& name)>> text_added;
140 static constexpr xtd::size npos = size_object::max_value;
185 virtual
size_t selected_index() const noexcept;
270 drawing::
size measure_control() const noexcept override;
286 size_t get_child_index(
intptr page);
293 void on_tab_pages_item_added(
size_t,
tab_page_ref& item);
294 void on_tab_pages_item_removed(
size_t,
tab_page_ref& item);
295 void on_tab_pages_text_added(
size_t index, const
string& text, const
string& name);
Represents text as a sequence of character units.
Definition basic_string.h:79
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:44
void push_back(const xtd::string &text, const string &name)
Adds an element to the end.
void push_back(const xtd::string &text)
Adds an element to the end.
void insert_at(size_t index, const xtd::string &text)
Inserts specified element at specified index.
iterator insert(const_iterator pos, const xtd::string &text, const xtd::string &name)
Inserts specified element at specified position.
tab_page_collection(const allocator_type &allocator=allocator_type())
Creates a new object xtd::forms::control::tab_page_collection with specified allocator (optional).
void insert_at(size_t index, const xtd::string &text, const xtd::string &name)
Inserts specified element at specified index.
iterator insert(const_iterator pos, const xtd::string &text)
Inserts specified element at specified position.
Represents a single tab page in a tab_control.
Definition tab_page.h:33
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:23
char8_t char8
Represents a 8-bit unicode character.
Definition char8.h:27
wchar_t wchar
Represents a wide character.
Definition wchar.h:24
char16_t char16
Represents a 16-bit unicode character.
Definition char16.h:26
std::unique_ptr< type_t > uptr
The xtd::uptr object is a unique pointer.
Definition uptr.h:25
size_t size
Represents a size of any object in bytes.
Definition size.h:23
char32_t char32
Represents a 32-bit unicode character.
Definition char32.h:26
intmax_t intptr
Represent a pointer or a handle.
Definition intptr.h:23
std::shared_ptr< type_t > sptr
The xtd::sptr object is a shared pointer.
Definition sptr.h:25
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.