Skip to main content
Tab

LevelPropertiesCollection Class

Represents a collection that maintains node hierarchy level settings.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public class LevelPropertiesCollection :
    Collection<LevelProperties>

The following members return LevelPropertiesCollection objects:

Remarks

A site map control holds its level settings within a collection which is represented by an instance of the LevelPropertiesCollection class and can be accessed via the ASPxSiteMapControl.LevelProperties property. The properties and methods exposed by the LevelPropertiesCollection class can be used to perform common collection operations such as adding new or the deleting the existing levels. Collection items are represented by the instances of the LevelProperties class and can be accessed using indexer notation.

Each collection item 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 LevelPropertiesCollection: the first collection item (whose index is 0) defines the appearance of the top (zero-indexed) nesting level and so on.

See Also