Skip to main content
A newer version of this page is available. .
Tab

ASPxSiteMapControl.MaximumDisplayLevels Property

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.2.dll

Declaration

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

Property Value

Type Default Description
Int32 0

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

Remarks

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.

Note

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

See Also