Contains tool bar native API. 
- Namespace
 - xtd::forms::native 
 
- Library
 - xtd.forms.native
 
- Warning
 - Internal use only 
 
 | 
| static intptr  | add_tool_bar_button (intptr tool_bar, const xtd::string &text, const xtd::string &tool_tip_text, const xtd::drawing::image &image, bool enabled, bool visible) | 
|   | Adds tool bar push button.  
  | 
|   | 
| static intptr  | add_tool_bar_drop_down_button (intptr tool_bar, const xtd::string &text, const xtd::string &tool_tip_text, const xtd::drawing::image &image, bool enabled, bool visible, intptr drop_down_menu) | 
|   | Adds tool bar drop down button.  
  | 
|   | 
| static intptr  | add_tool_bar_toggle_button (intptr tool_bar, const xtd::string &text, const xtd::string &tool_tip_text, const xtd::drawing::image &image, bool pushed, bool enabled, bool visible) | 
|   | Adds tool bar toggle button.  
  | 
|   | 
| static intptr  | add_tool_bar_separator (intptr tool_bar) | 
|   | Adds tool bar separator.  
  | 
|   | 
| static intptr  | add_tool_bar_stretchable_separator (intptr tool_bar) | 
|   | Adds tool bar stretchable separator.  
  | 
|   | 
| static intptr  | add_tool_bar_control (intptr tool_bar, intptr control, const xtd::string &text, const xtd::string &tool_tip_text) | 
|   | Adds tool bar control.  
  | 
|   | 
| static bool  | set_system_tool_bar (intptr control, intptr tool_bar) | 
|   | Sets the tool_bar that is displayed in the form.  
  | 
|   | 
| static void  | update_tool_bar_item (intptr tool_bar, intptr handle, const xtd::string &text, const xtd::string &tool_tip_text, const xtd::drawing::image &image, bool pushed, bool enabled, bool visible) | 
|   | Updates tool bar item.  
  | 
|   | 
| static xtd::drawing::rectangle  | tool_bar_item_rectangle (intptr tool_bar, intptr handle) | 
|   | Gets the tool bar item rectangle.  
  | 
|   | 
◆ add_tool_bar_button()
Adds tool bar push button. 
- Parameters
 - 
  
    | tool_bar | The tool bar that contains the button.  | 
    | text | The button text  | 
    | tool_tip_text | The tool tip text.  | 
    | image | The button image.  | 
    | enabled | true if button is enabled; otherwise false.  | 
    | visible | true if button is visible; otherwise false.  | 
  
   
- Warning
 - Internal use only 
 
 
 
◆ add_tool_bar_drop_down_button()
Adds tool bar drop down button. 
- Parameters
 - 
  
    | tool_bar | The tool bar that contains the button.  | 
    | text | The button text  | 
    | tool_tip_text | The tool tip text.  | 
    | image | The button image.  | 
    | enabled | true if button is enabled; otherwise false.  | 
    | visible | true if button is visible; otherwise false.  | 
    | drop_down_menu | The context menu handle.  | 
  
   
- Warning
 - Internal use only 
 
 
 
◆ add_tool_bar_toggle_button()
Adds tool bar toggle button. 
- Parameters
 - 
  
    | tool_bar | The tool bar that contains the button.  | 
    | text | The button text  | 
    | tool_tip_text | The tool tip text.  | 
    | image | The button image.  | 
    | pushed | true if button is pushed; otherwise false.  | 
    | enabled | true if button is enabled; otherwise false.  | 
    | visible | true if button is visible; otherwise false.  | 
  
   
- Warning
 - Internal use only 
 
 
 
◆ add_tool_bar_separator()
  
  
      
        
          | static intptr xtd::forms::native::tool_bar::add_tool_bar_separator  | 
          ( | 
          intptr  | 
          tool_bar | ) | 
           | 
         
       
   | 
  
staticprotected   | 
  
 
Adds tool bar separator. 
- Parameters
 - 
  
    | tool_bar | The tool bar that contains the separator.  | 
  
   
- Warning
 - Internal use only 
 
 
 
◆ add_tool_bar_stretchable_separator()
  
  
      
        
          | static intptr xtd::forms::native::tool_bar::add_tool_bar_stretchable_separator  | 
          ( | 
          intptr  | 
          tool_bar | ) | 
           | 
         
       
   | 
  
staticprotected   | 
  
 
Adds tool bar stretchable separator. 
- Parameters
 - 
  
    | tool_bar | The tool bar that contains the stretchable separator.  | 
  
   
- Warning
 - Internal use only 
 
 
 
◆ add_tool_bar_control()
Adds tool bar control. 
- Parameters
 - 
  
    | tool_bar | The tool bar that contains the control.  | 
    | control | The control handle.  | 
    | text | The control text  | 
    | tool_tip_text | The tool tip text.  | 
  
   
- Warning
 - Internal use only 
 
 
 
◆ set_system_tool_bar()
  
  
      
        
          | static bool xtd::forms::native::tool_bar::set_system_tool_bar  | 
          ( | 
          intptr  | 
          control,  | 
         
        
           | 
           | 
          intptr  | 
          tool_bar  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
staticprotected   | 
  
 
Sets the tool_bar that is displayed in the form. 
- Parameters
 - 
  
    | control | Control window handle.  | 
    | tool_bar | A tool bar handle that represents the tool bar to display in the form.  | 
  
   
- Warning
 - Internal use only 
 
 
 
◆ update_tool_bar_item()
Updates tool bar item. 
- Parameters
 - 
  
    | tool_bar | The tool bar that contains the button.  | 
    | handle | The tool bar item handle.  | 
    | text | The button text  | 
    | tool_tip_text | The tool tip text.  | 
    | image | The button image.  | 
    | pushed | true if button is pushed; otherwise false.  | 
    | enabled | true if button is enabled; otherwise false.  | 
    | visible | true if button is visible; otherwise false.  | 
  
   
- Warning
 - Internal use only 
 
 
 
◆ tool_bar_item_rectangle()
Gets the tool bar item rectangle. 
- Parameters
 - 
  
    | tool_bar | The tool bar that contains the button.  | 
    | handle | The tool bar item handle.  | 
  
   
- Returns
 - A xtd::drawing::rectangle that contains the tool bar item rectangle. 
 
- Warning
 - Internal use only 
 
 
 
The documentation for this class was generated from the following file: