Tab

MenuSettingsAdaptivity.EnableAutoHideRootItems Property

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.1.dll

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 Bootstrap Controls BootstrapMenu
.SettingsAdaptivity.EnableAutoHideRootItems
BootstrapMenuBase
.SettingsAdaptivity.EnableAutoHideRootItems
BootstrapToolbar
.SettingsAdaptivity.EnableAutoHideRootItems
ASP.NET MVC Extensions MenuSettings
.SettingsAdaptivity.EnableAutoHideRootItems
MVCxMenu
.SettingsAdaptivity.EnableAutoHideRootItems
ASP.NET Web Forms Controls ASPxMenu
.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