Skip to main content
A newer version of this page is available. .

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.v19.1.dll

Declaration

[DefaultValue(0)]
public virtual int MinRootItemsCount { get; set; }

Property Value

Type Default Description
Int32 0

An integer value that specifies the minimum number.

Property Paths

You can access this nested property as listed below:

Object Type Path to MinRootItemsCount
BootstrapToolbar
.SettingsAdaptivity.MinRootItemsCount

Remarks

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