BootstrapToolbarSettingsAdaptivityBase.MinRootItemsCount Property

Specifies the minimum number of toolbar’s root items displayed when the toolbar width decreases.

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v21.1.dll


public virtual int MinRootItemsCount { get; set; }

Property Value

Type Default Description


An integer value that specifies the minimum number.

Property Paths

You can access this nested property as listed below:

Object Type Path to MinRootItemsCount


The following properties control how the toolbar responds when the container’s width changes:

  1. If EnableCollapseRootItemsToIcons is set to true, the text of all items that contain icons are hidden.
  2. If EnableAutoHideRootItems is set to true, the toolbar combines root items one by one in the root submenu until the toolbar contains the minimum number of root items (specified in the MinRootItemsCount property).

To see this property in action, refer to the Toolbar - Adaptivity Settings online demo.

See Also