PivotGridMenuEventArgsBase.MenuType Property

Gets the type of the invoked menu.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v21.1.dll

Declaration

public PivotGridMenuType MenuType { get; }

Property Value

Type Description
PivotGridMenuType

A PivotGridMenuType enumeration member which specifies the menu’s type.

Available values:

Name Description
Header

Corresponds to the field header context menu.

Header_MenuType

HeaderArea

Corresponds to the header area context menu.

HeaderArea_MenuType

FieldValue

Corresponds to the field value context menu.

FieldValueArea_MenuType

HeaderSummaries

Corresponds to the menu allowing an end-user to select a summary type for a data field (when the PivotGridFieldOptions.AllowRunTimeSummaryChange option is enabled).

HeaderSummaries_MenuType

Cell

Corresponds to the context menu, allowing end-users to apply conditional formatting to data cells (when the PivotGridOptionsMenu.EnableFormatRulesMenu option is enabled).

Cell_MenuType

Remarks

To obtain the actual context menu invoked, use the PivotGridMenuEventArgsBase.Menu property.

See Also