33 template<
typename type_t>
35 std::sort(first, last);
49 item(
const char* value) : value_(value) {}
50 item(
const item& value) =
default;
51 item(item&& value) =
default;
52 item& operator=(
const item& value) =
default;
53 item& operator=(item&& value) =
default;
54 virtual ~item() =
default;
55 bool operator==(
const item& value)
const {
return value_ == value.value_;}
56 bool operator!=(
const item& value)
const {
return !operator==(value);}
57 bool operator<(
const item& value)
const {
return value_ < value.value_;}
58 bool operator<=(
const item& value)
const {
return value_ <= value.value_;}
59 bool operator>(
const item& value)
const {
return value_ > value.value_;}
60 bool operator>=(
const item& value)
const {
return value_ >= value.value_;}
61 friend std::ostream& operator<<(std::ostream& os,
const item& value) {
return os << value.to_string();}
70 virtual std::any
tag()
const {
return tag_;}
101 static const size_t npos = std::numeric_limits<size_t>::max();
122 size_t selected_index_ = npos;
Represents an ARGB (alpha, red, green, blue) color.
Definition color.h:39
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 text as a sequence of UTF-8 code units.
Definition ustring.h:48
Contains xtd::forms::control control.
event< list_control, event_handler > selected_index_changed
Occurs when the selected_index property changes.
Definition list_control.h:94
event< list_control, event_handler > selected_value_changed
Occurs when the selected_value property changes.
Definition list_control.h:98
#define forms_export_
Define shared library export.
Definition forms_export.h:13
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition system_report.h:17