# ToolItemCollection class

Namespace: [Eto.Forms](https://eto.picoe.ca/api/namespace/eto.forms.md) · Assembly: [Eto](https://eto.picoe.ca/api/assembly/eto.md)

```cs
public class ToolItemCollection : Collection<ToolItem>, IList
```

ToolBar item collection.

## Constructors

- [ToolItemCollection](https://eto.picoe.ca/api/type/eto.forms.toolitemcollection/ctor.md): Initializes a new instance of the [ToolItemCollection](https://eto.picoe.ca/api/type/eto.forms.toolitemcollection.md) class.

## Methods

- [Add](https://eto.picoe.ca/api/type/eto.forms.toolitemcollection/add.md): (2 overloads) Add a `command` with the specified `order`.
- [AddRange](https://eto.picoe.ca/api/type/eto.forms.toolitemcollection/addrange.md): (2 overloads) Adds the specified commands to the collection starting at the specified order.
- [AddSeparator](https://eto.picoe.ca/api/type/eto.forms.toolitemcollection/addseparator.md): Adds a separator item with the specified `order` or `type`
- [ClearItems](https://eto.picoe.ca/api/type/eto.forms.toolitemcollection/clearitems.md): Called when the collection is cleared.
- [InsertItem](https://eto.picoe.ca/api/type/eto.forms.toolitemcollection/insertitem.md): Called when an item is inserted.
- [RemoveItem](https://eto.picoe.ca/api/type/eto.forms.toolitemcollection/removeitem.md): Called when an item is removed from the collection.
- [IList.Add](https://eto.picoe.ca/api/type/eto.forms.toolitemcollection/system-collections-ilist-add.md)
