Skip to main content

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

NuGet Package: DevExpress.Web.Bootstrap

Declaration

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

Property Value

Type Default Description
Int32 0

An integer value that specifies the minimum number.

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