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

LevelProperties Class

Contains settings which define the appearance of an individual node hierarchy level.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.2.dll

Declaration

public class LevelProperties :
    CollectionItem

The following members return LevelProperties objects:

Remarks

Site map nodes can be organized in a complex hierarchycal structure with a number of nesting levels. Nodes of different hierarchy levels can differ in their appearance. The LevelProperties class defines the appearance settings of an individual node nesting level.

Instances of the LevelProperties class are maintained within the ASPxSiteMapControl.LevelProperties collection which is represented by the LevelPropertiesCollection class. The correspondence between an instance of the LevelProperties class and the nesting level which it is applied to is based upon the order of LevelProperties objects in the ASPxSiteMapControl.LevelProperties collection: the first collection item (whose index is 0) defines the appearance of the top (zero-indexed) nesting level and so on.

The settings exposed by the LevelProperties class allow you to define the style of nodes of an individual nesting level. 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