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

PopupMenuShowingEventArgs.MenuType Property

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

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.2.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