Skip to main content

GridViewSettings.Toolbars Property

Gets the collection of toolbars in the GridViewSettings control.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public MVCxGridViewToolbarCollection Toolbars { get; }

Property Value

Type Description
MVCxGridViewToolbarCollection

A MVCxGridViewToolbarCollection object which represents the collection of toolbars within the grid.

Remarks

The Grid View extension stores toolbars (which are MVCxGridViewToolbar class instances) in its Toolbars collection. You can add or remove toolbars, change their availability and position, and populate them with toolbar items (MVCxGridViewToolbarItem class instances) using the MVCxGridViewToolbar.Items property. Toolbar items can trigger standard grid commands (that is data item editing, deletion, creation, etc.) and any custom actions, if required.

See Also