The ASPxGridView stores toolbars in its ASPxGridView.Toolbars collection. Each toolbar is a GridViewToolbar class instance. You can add and remove toolbars in the collection and change the following characteristics of individual toolbars:
Gets or sets a value specifying the visibility of the toolbar.
To populate a toolbar with toolbar items and to have indexed access to them, use the toolbar's GridViewToolbar.Items property.
Toolbar Item Object
Toolbar items are instances of the GridViewToolbarItem class. It is a descendant of the MenuItem class and so it inherits the following key functionality making a toolbar item appear and behave as a menu item.
Gets a collection that contains the toolbar items of the current toolbar item. Enables you to create hierarchies of nested toolbar items of unlimited depth.
Based on the GridViewToolbarItem.Command property setting, a toolbar item either triggers a standard grid command (that is, data item editing, deletion, creation, etc.) or performs a custom action, if required (this action should be implemented programmatically).
Standard Toolbar Item
To make a toolbar item execute a standard command, set the item's GridViewToolbarItem.Command property to the desired command name listed by the GridViewToolbarCommand enumeration. A standard toolbar item automatically displays the command-related text and image (optional). Clicking a standard toolbar item executes the corresponding grid command.