PopupMenuShowingEventArgs.MenuType Property
Gets what kind of pivot grid element invokes the menu.
Namespace: DevExpress.Xpf.PivotGrid
Assembly: DevExpress.Xpf.PivotGrid.v24.2.dll
NuGet Package: DevExpress.Wpf.PivotGrid
Declaration
Property Value
Type | Description |
---|---|
PivotGridMenuType | A PivotGridMenuType enumeration value that identifies the context menu type. |
Available values:
Name | Description |
---|---|
HeadersArea | |
Header | |
FieldValue | |
FilterPopup | Filter popup context menu. |
None | No menu. |
Cell | Cell context menu. |
Remarks
Use the MenuType property to determine for what kind of pivot grid element (a cell, a field value, a field header or the field header area) the menu is invoked. To obtain the actual visual element, use the PopupMenuShowingEventArgs.TargetElement property.
To learn more, see Context Menus.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the MenuType property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.