ASPxGridView.Toolbars Property
Gets the collection of toolbars in the ASPxGridView control.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
GridViewToolbarCollection | null | A GridViewToolbarCollection object which represents the collection of toolbars within the grid. |
Remarks
The ASPxGridView stores toolbars (which are GridViewToolbar class instances) in its Toolbars collection. You can add or remove toolbars, change their availability and position, and populate them with toolbar items (GridViewToolbarItem class instances) using the GridViewToolbar.Items property. Toolbar items can trigger standard grid commands (that is data item editing, deletion, creation, etc.) and any custom actions, if required (GridViewToolbarItem.Command).
Use the following properties to specify the toolbar settings:
- GridToolbar.Position. Specifies the toolbar position.
- GridToolbar.SettingsAdaptivity.Enabled. Specifies whether an adaptive behavior is enabled for the toolbar.
- GridToolbar.ItemAlign. Specifies the toolbar items alignment.
- GridToolbar.Visible. Controls the toolbar visibility.
- GridToolbar.Enabled. Specifies whether the toolbar is enabled.