Click or drag to resize

ToolItemCollection Class

ToolBar item collection.
Inheritance Hierarchy
SystemObject
  System.Collections.ObjectModelCollectionToolItem
    Eto.FormsToolItemCollection

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public class ToolItemCollection : Collection<ToolItem>, 
	IList, ICollection, IEnumerable

The ToolItemCollection type exposes the following members.

Constructors
  NameDescription
Protected methodToolItemCollection
Initializes a new instance of the ToolItemCollection class.
Top
Methods
  NameDescription
Public methodAdd(ToolItem)
Adds the specified item given its order.
Public methodAdd(Command, Int32)
Add a command with the specified order.
Public methodAddRange(IEnumerableToolItem)
Adds the specified tool items to the collection.
Public methodAddRange(IEnumerableCommand, Int32)
Adds the specified commands to the collection starting at the specified order.
Public methodAddSeparator
Adds a separator item with the specified order or type
Protected methodClearItems
Called when the collection is cleared.
(Overrides CollectionTClearItems.)
Protected methodInsertItem
Called when an item is inserted.
(Overrides CollectionTInsertItem(Int32, T).)
Protected methodRemoveItem
Called when an item is removed from the collection.
(Overrides CollectionTRemoveItem(Int32).)
Top
See Also