MenuSettingsBase.MaximumDisplayLevels Property
In This Article
Gets or sets the number of menu levels to render.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
NuGet Package: DevExpress.Web.Mvc5
#Declaration
#Property Value
Type | Description |
---|---|
Int32 | The number of menu levels to render for a menu control. |
#Remarks
Use the MaximumDisplayLevels property to specify a menu’s depth - the number of menu levels rendered by the menu. Setting this property to 1 means that only the root menu level is rendered. You can display multiple menu levels in a menu by setting the MaximumDisplayLevels property to a value greater than 1.
Note
If the Maximum
See Also