ASPxSiteMapControl.MaximumDisplayLevels Property

Gets or sets the number of nesting levels to render within the site map control.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll


public int MaximumDisplayLevels { get; set; }

Property Value

Type Default Description


The number of nesting levels to render for the site map control.


Use the MaximumDisplayLevels property to specify the depth of hierarchical levels rendered within the site map control. Setting this property to 1 means that only the top nesting level is rendered. You can display multiple node nesting levels in the site map control by setting the MaximumDisplayLevels property to a value greater than 1.


If the MaximumDisplayLevels property is set to 0, the number of displayed node nesting levels is not limited.

See Also