# Grasshopper2.UI.Toolbar namespace

Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

## Classes

- [Bar](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.toolbar.bar.md): A collection of option and toggle buttons.
- [BarControl](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.toolbar.barcontrol.md): A control which hosts as [BarControl.Bar](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.toolbar.barcontrol/bar.md) ui element.
- [BarItem](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.toolbar.baritem.md): Abstract bar element implementation. Derive from this class rather than implementing IBarElement directly.
- [BarShortcut](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.toolbar.barshortcut.md): Maintains fields for key shortcuts to bar elements.
- [BarStyle](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.toolbar.barstyle.md): Styling properties of a [Bar](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.toolbar.bar.md) control.
- [DropDown<T>](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.toolbar.dropdown-1.md): A tool bar item which shows the currently selected value of a fixed set of options, and opens a menu with all the options when clicked. It takes up a single slot where a row of mutually exclusive toggles would take one slot per option.
- [NumberSlider](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.toolbar.numberslider.md): A numeric slider.
- [PushButton](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.toolbar.pushbutton.md): A button on a tool bar.
- [RadioToggle](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.toolbar.radiotoggle.md): A checkbox or radio toggle on a tool bar. Other toggles which share the same [Nomen.Section](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.nomen/section.md) will automatically untoggle when a toggle is pressed.
- [Spacer](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.toolbar.spacer.md): A spacing element on a tool bar.
- [TextField](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.toolbar.textfield.md): A text box on a toolbar.
- [ToolbarTooltipEventArgs](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.toolbar.toolbartooltipeventargs.md): Used by the BarControl to populate optional tooltip contents.
- [ValueIcon](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.toolbar.valueicon.md): An icon showing a specific state value. Handy for putting numbers on toolbar elements.

## Enums

- [IconTextStyle](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.toolbar.icontextstyle.md): Enumerates the possible ways in which
