ToolbarItemCollection Class

This class represents a collection of ToolbarItem objects within a Toolbar.

Syntax

Visual Basic  Public  Class ToolbarItemCollection Inherits BaseChildNodeCollection
C# public   class ToolbarItemCollection : BaseChildNodeCollection
Managed C++ public:  __gc class ToolbarItemCollection :  public BaseChildNodeCollection
JScript public   class ToolbarItemCollection extends BaseChildNodeCollection

Inheritance Hierarchy

Members Table

The following table lists the members exposed by the ToolbarItemCollection object.

Attributes/Properties
Property Description
Item Retrieves the item in the collection that matches the int being searched for.
Methods
Method Description
Add Adds a ToolbarItem to the Add method.
AddAt Adds a ToolbarItem to the ToolbarItemCollection at a specified index.
Contains Determines whether a ToolbarItem is in the ToolbarItemCollection.
FlatIndexItem Retrieves the item at the specified flat index.
FlatIndexOf Retrieves the flat index of the item in the ToolbarItemCollection.
IndexOf Determines the index of a ToolbarItem within the ToolbarItemCollection.
OnClear Prepares the items in the collection to be cleared.
OnInsert Sets the object properties when adding a new object to the collection.
OnRemoveComplete Sets the parent of the object that was removed to null.
OnSet Called when a node's properties are being set.
Remove Removes a ToolbarItem from the ToolbarItemCollection.

Class Information

Namespace Microsoft.Web.UI.WebControls
Assembly Microsoft.Web.UI.WebControls.dll

See Also

Show: