Skip to main content
Tab

ASPxMenuBase.MaximumDisplayLevels Property

Gets or sets the number of menu levels to render.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v22.1.dll

Declaration

[DefaultValue(0)]
public int MaximumDisplayLevels { get; set; }

Property Value

Type Default Description
Int32 0

The number of menu levels to render for a menu control.

Remarks

Use the MaximumDisplayLevels property to specify a menu control’s depth - the number of menu levels rendered by the menu control. Setting this property to 1 means that only the root menu level is rendered. You can display multiple menu levels in a menu control by setting the MaximumDisplayLevels property to a value greater than 1.

Note

If the MaximumDisplayLevels property is set to 0 the number of displayed menu levels is not limited.

See Also