windowsforms-devexpress-dot-xtratreelist-dot-popupmenushowingeventargs-d9baa1cf.md
Gets the type of the context menu that is about to be shown.
Namespace : DevExpress.XtraTreeList
Assembly : DevExpress.XtraTreeList.v25.2.dll
NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.TreeList
public TreeListMenuType MenuType { get; }
Public ReadOnly Property MenuType As TreeListMenuType
| 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.
|
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
PopupMenuShowingEventArgs Class