IContextMenuItemInfo.Level Property
In This Article
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