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

TreeListCellTemplateContainerBase.Level Property

Gets the nesting level of the node that contains the processed cell.

Namespace: DevExpress.Web.ASPxTreeList

Assembly: DevExpress.Web.ASPxTreeList.v19.2.dll

Declaration

public int Level { get; }

Property Value

Type Description
Int32

An integer value that specifies the node’s nesting level.

Remarks

The nesting level determines how many nodes you must expand to reach the node from the root. The root node’s Level property returns 0. The Level of its children is 1, etc.

NodeLevel

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Level property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also