#include <domain_up_down.h>
Represent an item contained in the domain_up_down::object_collection collection.
◆ item() [1/3]
xtd::forms::domain_up_down::item::item |
( |
| ) |
|
|
default |
Initializes a new instance of the item class.
◆ item() [2/3]
xtd::forms::domain_up_down::item::item |
( |
const xtd::ustring & |
value | ) |
|
|
inline |
Initializes a new instance of the item class with specified value.
- Parameters
-
value | a string that represent the item. |
◆ item() [3/3]
xtd::forms::domain_up_down::item::item |
( |
const xtd::ustring & |
value, |
|
|
const std::any & |
tag |
|
) |
| |
|
inline |
Initializes a new instance of the item class with specified value and tag.
- Parameters
-
value | a string that represent the item. |
tag | an object that contains data about the item. |
◆ tag()
virtual std::any xtd::forms::domain_up_down::item::tag |
( |
| ) |
const |
|
inlinevirtual |
Gets the tag of the item.
- Returns
- A std::any that represent the tag of item.
◆ to_string()
xtd::ustring xtd::forms::domain_up_down::item::to_string |
( |
| ) |
const |
|
inline |
Returns a string containing the vague of the item.
- Returns
- A string containing the value of the item.
◆ value()
virtual const xtd::ustring& xtd::forms::domain_up_down::item::value |
( |
| ) |
const |
|
inlinevirtual |
Gets the value of the item.
- Returns
- A xtd::ustring that represent the value of item.
The documentation for this class was generated from the following file: