Back to Devexpress

MenuSettingsAdaptivity.EnableAutoHideRootItems Property

aspnet-devexpress-dot-web-dot-menusettingsadaptivity-abc5bd92.md

latest2.0 KB
Original Source

MenuSettingsAdaptivity.EnableAutoHideRootItems Property

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

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue(true)]
public bool EnableAutoHideRootItems { get; set; }
vb
<DefaultValue(True)>
Public Property EnableAutoHideRootItems As Boolean

Property Value

TypeDefaultDescription
Booleantrue

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

|

Property Paths

You can access this nested property as listed below:

LibraryObject TypePath to EnableAutoHideRootItems
ASP.NET MVC ExtensionsMenuSettings

.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

MenuSettingsAdaptivity Class

MenuSettingsAdaptivity Members

DevExpress.Web Namespace