Skip to main content

PopupMenuShowingEventArgs.MenuType Property

Gets the type of the context menu that is about to be shown.

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 value that specifies the menu type.

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

The Tree List shows a context menu when the user right-clicks within the following areas:

The HitInfo and MenuType event arguments allow you to determine the clicked visual element and the type of the menu that is about to be displayed.

See Also