Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

IContextMenuItemInfo.Level Property

Returns the nesting level of the current menu item.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
int Level { get; }

#Property Value

Type Description
Int32

An integer value that specifies a menu item’s level.

#Remarks

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

See Also