Click or drag to resize

ToolItemCollection Class

ToolBar item collection.
Inheritance Hierarchy
System.Object
  System.Collections.ObjectModel.Collection<ToolItem>
    Eto.Forms.ToolItemCollection

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(IEnumerable<ToolItem>)
Adds the specified tool items to the collection.
Public methodAddRange(IEnumerable<Command>, 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 Collection<T>.ClearItems().)
Protected methodInsertItem
Called when an item is inserted.
(Overrides Collection<T>.InsertItem(Int32, T).)
Protected methodRemoveItem
Called when an item is removed from the collection.
(Overrides Collection<T>.RemoveItem(Int32).)
Top
See Also