BootstrapCardView.Toolbars Property
Gets the collection of toolbars in the BootstrapCardView control.
Namespace: DevExpress.Web.Bootstrap
Assembly: DevExpress.Web.Bootstrap.v24.2.dll
Declaration
[DefaultValue(null)]
[PersistenceMode(PersistenceMode.InnerProperty)]
public BootstrapCardViewToolbarCollection Toolbars { get; }
Property Value
Type | Default | Description |
---|---|---|
BootstrapCardViewToolbarCollection | null | A BootstrapCardViewToolbarCollection object which represents the collection of toolbars within the grid. |
Remarks
The CardView stores toolbars (which are BootstrapCardViewToolbar class instances) in its Toolbars collection. You can add or remove toolbars, change their availability and position, and populate them with toolbar items (BootstrapCardViewToolbarItem class instances) using the BootstrapCardViewToolbar.Items property. Toolbar items can trigger standard grid commands (that is data item editing, deletion, creation, etc.) and any custom actions, if required (BootstrapCardViewToolbarItemBase.Command).
Use the following properties to specify the toolbar settings:
- GridToolbar.Position. Specifies the toolbar position.
- GridToolbar.Visible. Controls the toolbar visibility.
- GridToolbar.Enabled. Specifies whether the toolbar is enabled.