Back to Devexpress

PopupMenuShowingEventArgs.MenuType Property

windowsforms-devexpress-dot-xtratreelist-dot-popupmenushowingeventargs-d9baa1cf.md

latest4.0 KB
Original Source

PopupMenuShowingEventArgs.MenuType Property

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

Declaration

csharp
public TreeListMenuType MenuType { get; }
vb
Public ReadOnly Property MenuType As TreeListMenuType

Property Value

TypeDescription
TreeListMenuType

A value that specifies the menu type.

|

Available values:

NameDescription
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

PopupMenuShowingEventArgs Class

PopupMenuShowingEventArgs Members

DevExpress.XtraTreeList Namespace