Back to Devexpress

ASPxGridView.Toolbars Property

aspnet-devexpress-dot-web-dot-aspxgridview-03638e74.md

latest2.6 KB
Original Source

ASPxGridView.Toolbars Property

Gets the collection of toolbars in the ASPxGridView control.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue(null)]
public GridViewToolbarCollection Toolbars { get; }
vb
<DefaultValue(Nothing)>
Public ReadOnly Property Toolbars As GridViewToolbarCollection

Property Value

TypeDefaultDescription
GridViewToolbarCollectionnull

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:

See Also

GetToolbar(index)

ASPxGridView Class

ASPxGridView Members

DevExpress.Web Namespace