ASPxVerticalGrid.Toolbars Property
Gets the collection of toolbars in the ASPxVerticalGrid control.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
[DefaultValue(null)]
public VerticalGridToolbarCollection Toolbars { get; }
#Property Value
Type | Default | Description |
---|---|---|
Vertical |
null | A Vertical |
#Remarks
The ASPxVerticalGrid stores toolbars (which are VerticalGridToolbar class instances) in its Toolbars collection. You can add or remove toolbars, change their availability and position, and populate them with toolbar items (VerticalGridToolbarItem class instances) using the VerticalGridToolbar.Items property. Toolbar items can trigger standard grid commands (that is data item editing, deletion, creation, etc.) and any custom actions, if required (VerticalGridToolbarItem.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.