PopupMenuShowingEventArgs.MenuType Property

Gets what kind of pivot grid element invokes the menu.

Namespace: DevExpress.Xpf.PivotGrid

Assembly: DevExpress.Xpf.PivotGrid.v21.2.dll

Declaration

public PivotGridMenuType MenuType { get; }

Property Value

Type Description
PivotGridMenuType

A PivotGridMenuType enumeration value that identifies the context menu type.

Available values:

Name Description
HeadersArea

Header area context menu.

Header

Field header context menu.

FieldValue

Field value context menu.

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.

See Also