#include <domain_up_down.h>
Represent an item contained in the domain_up_down::object_collection collection. 
 | 
|   | item ()=default | 
|   | Initializes a new instance of the item class.  
  | 
|   | 
|   | item (const xtd::ustring &value) | 
|   | Initializes a new instance of the item class with specified value.  
  | 
|   | 
|   | item (const xtd::ustring &value, const std::any &tag) | 
|   | Initializes a new instance of the item class with specified value and tag.  
  | 
|   | 
| virtual std::any  | tag () const | 
|   | Gets the tag of the item.  
  | 
|   | 
| xtd::ustring  | to_string () const | 
|   | Returns a string containing the vague of the item.  
  | 
|   | 
| virtual const xtd::ustring &  | value () const | 
|   | Gets the value of the item.  
  | 
|   | 
◆ 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: