Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

PivotGridMenuEventArgs Class

OBSOLETE

Use the PopupMenuShowingEventArgs class instead

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

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v24.2.dll

NuGet Package: DevExpress.Win.PivotGrid

#Declaration

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

#Remarks

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