Skip to main content
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.v24.2.dll

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 MVC Extensions MenuSettings
.SettingsAdaptivity .CollapseRootItemsToIconsAtWindowInnerWidth
ASP.NET Web Forms Controls ASPxMenu
.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