7 #include <xtd/iequatable> 51 item(
const char* value);
53 item& operator =(
const item& value) =
default;
65 virtual std::any tag()
const noexcept;
71 int32 compare_to(
const item& value)
const noexcept
override;
72 bool equals(
const item& value)
const noexcept
override;
94 static const size_t npos = std::numeric_limits<size_t>::max();
120 virtual
size_t selected_index() const noexcept;
128 const
item& selected_item() const noexcept;
136 virtual
bool wrap() const noexcept;
182 drawing::color default_back_color() const noexcept override;
183 drawing::color default_fore_color() const noexcept override;
189 void on_handle_created(const
event_args&
e) override;
195 virtual
void on_selected_item_changed(const
event_args&
e);
197 void on_text_changed(const
event_args& e) override;
206 void on_items_item_added(
size_t pos, const
item&
item);
207 void on_items_item_removed(
size_t pos, const item& item);
208 void on_items_item_updated(
size_t pos, const item& item);
210 std::shared_ptr<data> data_;
Contains xtd::forms::application class.
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
event< domain_up_down, event_handler > selected_item_changed
Occurs when the selected_item property has been changed.
Definition: domain_up_down.h:170
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
Represents text as a sequence of UTF-8 code units.
Definition: ustring.h:46
std::string to_string(const date_time &value, const std::string &fmt, const std::locale &loc)
Convert a specified value into a string with specified format and locale.
Definition: date_time.h:1063
event< domain_up_down, event_handler > value_changed
Occurs when the value property has been changed.
Definition: domain_up_down.h:174
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
Represent an item contained in the domain_up_down::object_collection collection.
Definition: domain_up_down.h:34
Indicates that all styles except allow_binary_specifier, allow_octal_specifier and allow_hex_specifie...
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes...
Definition: object.h:32
int_least32_t int32
Represents a 32-bit signed integer.
Definition: types.h:129
Represents a Windows spin box (also known as an up-down control) that displays string values...
Definition: domain_up_down.h:29
static const ustring empty_string
Represents the empty string.
Definition: ustring.h:53
Contains xtd::forms::up_down_base control.
size_t size
Represents a size of any object in bytes.
Definition: types.h:195