ASPxTreeList.Toolbars Property
Gets the collection of toolbars in the ASPxTreeList control.
Namespace: DevExpress.Web.ASPxTreeList
Assembly: DevExpress.Web.ASPxTreeList.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
Property Value
Type | Description |
---|---|
TreeListToolbarCollection | A TreeListToolbarCollection object which represents the collection of toolbars within the tree list. |
Remarks
The ASPxTreeList stores toolbars (which are TreeListToolbar class instances) in its Toolbars collection. You can add or remove toolbars, change their availability and position, and populate them with toolbar items (TreeListToolbarItem class instances) using the TreeListToolbar.Items property. Toolbar items can trigger standard grid commands (that is data item editing, deletion, creation, etc.) and any custom actions, if required (TreeListToolbarItem.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.