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

MenuSettingsAdaptivity.EnableAutoHideRootItems Property

Specifies whether the menu root items are automatically hidden when the browser width changes.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(true)]
public bool EnableAutoHideRootItems { get; set; }

Property Value

Type Default Description
Boolean **true**

true, to hide the menu root items automatically; otherwise, false.

Property Paths

You can access this nested property as listed below:

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

Remarks

Set the EnableAutoHideRootItems property to true to automatically hide the menu root items when the browser changes its width.

The EnableAutoHideRootItems property is in effect if the MenuSettingsAdaptivity.Enabled property is set to true.

See Also