Skip to main content

TreeListMenuItemClickEventArgs.MenuType Property

Gets the type of menu whose item has been clicked.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.1.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList

Declaration

public TreeListMenuType MenuType { get; }

Property Value

Type Description
TreeListMenuType

A TreeListMenuType enumeration value that specifies the type of menu whose item has been clicked.

Available values:

Name Description
User

Corresponds to the user defined context menu.

Summary

The context menu invoked with a right click on a group summary or total summary.

Column

The context menu invoked with a right click on a column header.

Node

The context menu invoked with a right click on a node.

AutoFilter

The menu that allows the user to select a condition in the automatic filtering row.

Remarks

If the MenuType property is set to Summary, use the IsFooter property to determine whether the item is clicked in the menu for the footer’s total summary or for a group summary.

See Also