Menu item native API. 
- Namespace
 - xtd::forms::native 
 
- Library
 - xtd.forms.native
 
- Warning
 - Internal use only 
 
 
◆ checked()
  
  
      
        
          | static void xtd::forms::native::menu_item::checked  | 
          ( | 
          intptr  | 
          menu_item,  | 
         
        
           | 
           | 
          bool  | 
          checked  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
staticprotected   | 
  
 
Checked menu item. 
- Parameters
 - 
  
    | menu_item | Menu item handle.  | 
    | checked | true if menu item is checked; otherwise false.  | 
  
   
- Warning
 - Internal use only 
 
 
 
◆ create()
Creates menu item with specified menu. 
- Parameters
 - 
  
    | menu | Menu handle.  | 
    | text | The text associated with this menu_item.  | 
    | image | A xtd::drawing::image associated with this menu_item.  | 
    | kind | A menu item kind.  | 
    | shortcut | A bitwise virtual key and virtual key modifiers shortcut associate with this menu_item.  | 
  
   
- Returns
 - The created menu handle. 
 
- Warning
 - Internal use only 
 
 
 
◆ destroy()
  
  
      
        
          | static void xtd::forms::native::menu_item::destroy  | 
          ( | 
          intptr  | 
          menu_item | ) | 
           | 
         
       
   | 
  
staticprotected   | 
  
 
Destroys menu_item. 
- Parameters
 - 
  
  
 
- Warning
 - Internal use only 
 
 
 
◆ enabled()
  
  
      
        
          | static void xtd::forms::native::menu_item::enabled  | 
          ( | 
          intptr  | 
          menu_item,  | 
         
        
           | 
           | 
          bool  | 
          enabled  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
staticprotected   | 
  
 
Enabled menu item. 
- Parameters
 - 
  
    | menu_item | Menu item handle.  | 
    | enabled | true if menu item is enabled; otherwise false.  | 
  
   
- Warning
 - Internal use only 
 
 
 
◆ menu_id()
  
  
      
        
          | static intptr xtd::forms::native::menu_item::menu_id  | 
          ( | 
          intptr  | 
          menu_item | ) | 
           | 
         
       
   | 
  
staticprotected   | 
  
 
Gets menu id. 
- Parameters
 - 
  
  
 
- Returns
 - Id corresponding to menu_item handle. 
 
- Warning
 - Internal use only 
 
 
 
◆ text()
  
  
      
        
          | static void xtd::forms::native::menu_item::text  | 
          ( | 
          intptr  | 
          menu_item,  | 
         
        
           | 
           | 
          const xtd::string &  | 
          text,  | 
         
        
           | 
           | 
          size_t  | 
          shortcut  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
staticprotected   | 
  
 
Sets text menu item. 
- Parameters
 - 
  
    | menu_item | Menu item handle.  | 
    | text | The text associated with this menu_item.  | 
    | shortcut | A bitwise virtual key and virtual key modifiers shortcut associate with this menu_item.  | 
  
   
- Warning
 - Internal use only 
 
 
 
The documentation for this class was generated from the following file: