8#include <xtd/iequatable>
9#include <xtd/size_object>
44 template<
typename type_t>
46 std::sort(first, last);
73 item(
const char* value);
76 item& operator =(
const item& value) =
default;
77 item& operator =(
item&& value) =
default;
78 virtual ~item() =
default;
90 virtual std::any tag() const noexcept;
96 int32 compare_to(const
item& value) const noexcept override;
99 bool equals(const
item& value) const noexcept override;
103 xtd::
string to_string() const noexcept override;
130 virtual
size_t selected_index() const noexcept;
160 drawing::color default_back_color() const noexcept override;
161 drawing::color default_fore_color() const noexcept override;
169 virtual
bool allow_selection() const noexcept;
179 void set_selected_index(
size_t value);
Contains xtd::forms::application class.
Represents text as a sequence of character units.
Definition basic_string.h:79
Represents a boxed integer object.
Definition box_integer.h:52
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
Defines a generalized comparison method that a value type or class implements to create a type-specif...
Definition icomparable.h:21
Defines a generalized method that a value type or class implements to create a type-specific method f...
Definition iequatable.h:22
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition object.h:42
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
int32_t int32
Represents a 32-bit signed integer.
Definition int32.h:23
size_t size
Represents a size of any object in bytes.
Definition size.h:23
std::shared_ptr< type_t > sptr
The xtd::sptr object is a shared pointer.
Definition sptr.h:25
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.