PivotGridMenuEventArgsBase.MenuType Property
Gets the type of the invoked menu.
Namespace: DevExpress.XtraPivotGrid
Assembly: DevExpress.XtraPivotGrid.v24.2.dll
NuGet Package: DevExpress.Win.PivotGrid
#Declaration
public PivotGridMenuType MenuType { get; }
#Property Value
Type | Description |
---|---|
Pivot |
A Pivot |
Available values:
Name | Description |
---|---|
Header | Corresponds to the field header context menu. |
Header |
Corresponds to the header area context menu. |
Field |
Corresponds to the field value context menu. |
Header |
Corresponds to the menu allowing an end-user to select a summary type for a data field (when the Pivot |
Cell | Corresponds to the context menu, allowing end-users to apply conditional formatting to data cells (when the Pivot |
#Remarks
To obtain the actual context menu invoked, use the PivotGridMenuEventArgsBase.Menu property.
#Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references 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.