Skip to main content

PivotGridMenuEventArgs Class


Use the PopupMenuShowingEventArgs class instead

Provides data for the DevExpress.XtraPivotGrid.PivotGridControl.ShowMenu event.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v24.1.dll

NuGet Package: DevExpress.Win.PivotGrid


[Obsolete("Use the PopupMenuShowingEventArgs class instead")]
public class PivotGridMenuEventArgs :


When an end-user right-clicks a field header, field value or header area to invoke the corresponding context menu, the DevExpress.XtraPivotGrid.PivotGridControl.ShowMenu event is raised. The PivotGridMenuEventArgs class provides properties that allow you to identify the invoked menu and its type, the field whose header has been right-clicked, etc. The Allow property specifies whether the context menu can be shown.

PivotGridMenuEventArgs objects are automatically created, initialized and passed to DevExpress.XtraPivotGrid.PivotGridControl.ShowMenu event handlers.

See Also