29 class item :
public list_box::item {
61 item(
const item& value) =
default;
62 item& operator=(
const item& value) =
default;
63 bool operator==(
const item& value)
const {
return list_box::item::operator==(value);}
64 bool operator!=(
const item& value)
const {
return list_box::item::operator!=(value);}
65 bool operator<(
const item& value)
const {
return list_box::item::operator<(value);}
66 bool operator<=(
const item& value)
const {
return list_box::item::operator<=(value);}
67 bool operator>(
const item& value)
const {
return list_box::item::operator>(value);}
68 bool operator>=(
const item& value)
const {
return list_box::item::operator>=(value);}
69 friend std::ostream& operator<<(std::ostream& os,
const item& value) {
return os << value.to_string();}
74 virtual bool checked()
const {
return check_state_ != forms::check_state::unchecked;}
126 using list_box::selected_index;
151 using list_box::text;
155 selected_item_ = {text};
205 bool allow_selection()
override {
return selection_mode_ != forms::selection_mode::none;}
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
#define forms_export_
Define shared library export.
Definition forms_export.h:13
Contains xtd::forms::item_check_event_handler event handler.
Contains xtd::forms::list_box control.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition system_report.h:17