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

MenuSettingsAdaptivity.CollapseRootItemsToIconsAtWindowInnerWidth Property

Gets or sets a value that defines the maximum browser window inner width when the menu hides items’ text and displays only icons.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(575)]
public int CollapseRootItemsToIconsAtWindowInnerWidth { get; set; }

Property Value

Type Default Description
Int32 575

The browser inner window width in pixels.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to CollapseRootItemsToIconsAtWindowInnerWidth
ASP.NET Controls and MVC Extensions ASPxMenu
.SettingsAdaptivity .CollapseRootItemsToIconsAtWindowInnerWidth
ASP.NET Bootstrap Controls BootstrapMenu
.SettingsAdaptivity .CollapseRootItemsToIconsAtWindowInnerWidth
BootstrapMenuBase
.SettingsAdaptivity .CollapseRootItemsToIconsAtWindowInnerWidth
BootstrapToolbar
.SettingsAdaptivity .CollapseRootItemsToIconsAtWindowInnerWidth
ASP.NET MVC Extensions MenuSettings
.SettingsAdaptivity .CollapseRootItemsToIconsAtWindowInnerWidth
MVCxMenu
.SettingsAdaptivity .CollapseRootItemsToIconsAtWindowInnerWidth

Remarks

The menu hides the text of its root items and displays only icons when the browser window’s width is less than the value defined by the CollapseRootItemsToIconsAtWindowInnerWidth property. Root items are the menu’s items

The CollapseRootItemsToIconsAtWindowInnerWidth property is in effect only when the MenuSettingsAdaptivity.Enabled and the MenuSettingsAdaptivity.EnableCollapseToSideMenu properties are set to true.

See Also