ASPxSiteMapControl.LevelProperties Property

Gets a collection of objects that contain appearance settings for individual nesting levels of nodes displayed by the current site map control.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.1.dll


public LevelPropertiesCollection LevelProperties { get; }

Property Value

Type Description

A LevelPropertiesCollection object that represents a collection of hierarchy level settings.


Use the LevelProperties property to access a collection of objects which define the appearance of node hieararchy levels within the current site map control. Each collection item which is represented by an instance of the LevelProperties class contains the appearance settings applied to the nodes located at the corresponding nesting level. The correspondence between a collection item and the nesting level which it is applied to is based upon the order of items in the LevelProperties collection: the first collection item (whose index is 0) defines the appearance of the top (zero-indexed) nesting level and so on.

A collection object exposed by the LevelProperties property provides the standard means to manipulate its items: individual items can be added, removed and accessed using index notation.

In order to define a common style for all hierarchy levels within a site map control, use the settings available via the ASPxSiteMapControl.DefaultLevelProperties.

See Also