8#include <xtd/iequatable>
9#include <xtd/size_object>
55 item(
const char* value);
57 item& operator =(
const item& value) =
default;
69 virtual std::any tag() const noexcept;
75 int32 compare_to(const
item& value) const noexcept override;
77 bool equals(const
item& value) const noexcept override;
80 xtd::
string to_string() const noexcept override;
131 virtual
size_t selected_index() const noexcept;
139 const
item& selected_item() const noexcept;
147 virtual
bool wrap() const noexcept;
321 drawing::color default_back_color() const noexcept override;
322 drawing::color default_fore_color() const noexcept override;
350 void on_items_item_added(
size_t pos, const
item&
item);
351 void on_items_item_removed(
size_t pos, const
item&
item);
352 void on_items_item_updated(
size_t pos, const
item&
item);
Contains xtd::forms::application class.
Represents text as a sequence of character units.
Definition basic_string.hpp:79
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(const xtd::string &value, const std::any &tag)
Initializes a new instance of the item class with specified value and tag.
item()=default
Initializes a new instance of the item class.
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:42
generic_event_handler<> event_handler
Represents the method that will handle an event that has no event data.
Definition event_handler.hpp:32
#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
std::shared_ptr< type_t > sptr
The xtd::sptr object is a shared pointer.
Definition sptr.hpp:25
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.