# ToolbarFile class

Namespace: [Rhino.UI](https://developer.rhino3d.com/api/rhinocommon/namespace/rhino.ui.md) · Assembly: [RhinoCommon](https://developer.rhino3d.com/api/rhinocommon/assembly/rhinocommon.md) · Since v5.0

```cs
public sealed class ToolbarFile
```

Represents a Rhino toolbar, or .RUI, file.

## Properties

- [GroupCount](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.toolbarfile/groupcount.md): Get the number of toolbar groups in the toolbar file.
- [Id](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.toolbarfile/id.md): Gets the id of the toolbar file.
- [Name](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.toolbarfile/name.md): Gets the name, or alias, of the toolbar file.
- [Path](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.toolbarfile/path.md): Gets the full path to the toolbar file.
- [ToolbarCount](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.toolbarfile/toolbarcount.md): Get the number of toolbars in the toolbar file.

## Methods

- [Close](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.toolbarfile/close.md): Closes the toolbar file.
- [GetGroup](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.toolbarfile/getgroup.md): (2 overloads) Gets a toolbar group.
- [GetSvg](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.toolbarfile/getsvg.md): Gets the SVG string for an image in this toolbar file.
- [GetToolbar](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.toolbarfile/gettoolbar.md): Gets a toolbar.
- [Save](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.toolbarfile/save.md): Saves the toolbar file.
- [SaveAs](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.toolbarfile/saveas.md): Saves the toolbar file to a different path.
