8#include <xtd/iequatable>
9#include <xtd/size_object>
44 template<
class 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;
106 int32 compare_to(const
item& value) const noexcept override;
111 bool equals(const
xtd::
object& obj) const noexcept override;
115 bool equals(const
item& other) const noexcept override;
119 xtd::
size get_hash_code() const noexcept override;
123 xtd::
string to_string() const noexcept override;
150 virtual
size_t selected_index() const noexcept;
180 drawing::color default_back_color() const noexcept override;
181 drawing::color default_fore_color() const noexcept override;
189 virtual
bool allow_selection() const noexcept;
199 void set_selected_index(
size_t value);
Contains xtd::forms::application class.
Represent a polymorphic wrapper capable of holding any type.
Definition any_object.hpp:29
Represents text as a sequence of character units.
Definition basic_string.hpp:71
Represents a boxed integer object.
Definition box_integer.hpp:52
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
Defines a generalized comparison method that a value type or class implements to create a type-specif...
Definition icomparable.hpp:21
Defines a generalized method that a value type or class implements to create a type-specific method f...
Definition iequatable.hpp:22
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition object.hpp:43
The xtd::shared_ptr_object is a shared pointer as std::shared_ptr.
Definition shared_ptr_object.hpp:30
generic_event_handler< const xtd::event_args & > event_handler
Represents the method that will handle an event that has no event data.
Definition event_handler.hpp:24
#define forms_export_
Define shared library export.
Definition forms_export.hpp:13
int32_t int32
Represents a 32-bit signed integer.
Definition int32.hpp:23
size_t size
Represents a size of any object in bytes.
Definition size.hpp:23
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10
Contains xtd::forms::style_sheets::control class.