7 #include <xtd/iequatable> 74 item(
const char* value);
76 item& operator =(
const item& value) =
default;
95 using list_box::item::compare_to;
96 int32 compare_to(
const item& value)
const noexcept
override;
97 using list_box::item::equals;
98 bool equals(
const item& value)
const noexcept
override;
158 list_control& selected_index(
size_t selected_index) override;
160 std::vector<
size_t> selected_indices() const noexcept override;
166 const
item& selected_item() const noexcept;
217 bool get_item_checked(
size_t index)
const;
234 void set_item_checked(
size_t index,
bool checked);
261 bool allow_selection() const noexcept override;
268 void on_handle_created(const
event_args&
e) override;
274 void on_selected_value_changed(const
event_args& e) override;
279 void on_items_item_added(
size_t pos, const
item&
item);
280 void on_items_item_removed(
size_t pos, const item& item);
281 void on_items_item_updated(
size_t pos, const item& item);
283 void wm_mouse_double_click(message& message);
284 void wm_mouse_down(message& message);
285 void wm_mouse_up(message& message);
287 std::shared_ptr<data> data_;
Contains xtd::forms::item_check_event_handler event handler.
Represents the base class for classes that contain event data, and provides a value to use for events...
Definition: event_args.h:18
Defines a generalized comparison method that a value type or class implements to create a type-specif...
Definition: icomparable.h:17
Represents an ordered pair of integer x- and y-coordinates that defines a point in a two-dimensional ...
Definition: point.h:54
Stores an ordered pair of integers, which specify a height and width.
Definition: size.h:31
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
Contains xtd::forms::list_box control.
Represents text as a sequence of UTF-8 code units.
Definition: ustring.h:46
Represents an event.
Definition: event.h:21
Defines a generalized method that a value type or class implements to create a type-specific method f...
Definition: iequatable.h:18
Indicates that all styles except allow_binary_specifier, allow_octal_specifier and allow_hex_specifie...
int_least32_t int32
Represents a 32-bit signed integer.
Definition: types.h:129
static const ustring empty_string
Represents the empty string.
Definition: ustring.h:53
size_t size
Represents a size of any object in bytes.
Definition: types.h:195