Skip to main content

PopupMenuShowingEventArgs.MenuType Property

Gets what kind of pivot grid element invokes the menu.

Namespace: DevExpress.Xpf.PivotGrid

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

NuGet Package: DevExpress.Wpf.PivotGrid

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.

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.

See Also