8#include <xtd/iequatable>
9#include <xtd/size_object>
55 item(
const char* value);
57 item& operator =(
const item& value) =
default;
85 int32 compare_to(const
item& value) const noexcept override;
90 bool equals(const
xtd::
object& obj) const noexcept override;
94 bool equals(const
item& other) const noexcept override;
98 xtd::
size get_hash_code() const noexcept override;
102 xtd::
string to_string() const noexcept override;
153 virtual
size_t selected_index() const noexcept;
161 const
item& selected_item() const noexcept;
169 virtual
bool wrap() const noexcept;
343 drawing::color default_back_color() const noexcept override;
344 drawing::color default_fore_color() const noexcept override;
372 void on_items_item_added(
size_t pos, const
item&
item);
373 void on_items_item_removed(
size_t pos, const
item&
item);
374 void on_items_item_updated(
size_t pos, const
item&
item);
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
Represent an item contained in the domain_up_down::object_collection collection.
Definition domain_up_down.hpp:38
item()=default
Initializes a new instance of the item class.
item(const xtd::string &value, const xtd::any_object &tag)
Initializes a new instance of the item class with specified value and tag.
item(const xtd::string &value)
Initializes a new instance of the item class with specified value.
virtual const xtd::string & value() const noexcept
Gets the value of the item.
Represents a Windows spin box (also known as an up-down control) that displays string values.
Definition domain_up_down.hpp:33
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
std::unique_ptr< type_t > uptr
The xtd::uptr object is a unique pointer.
Definition uptr.hpp:25
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::up_down_base control.