Skip to main content
A newer version of this page is available. .

PivotGridMenuEventArgs Class

OBSOLETE

Use the PopupMenuShowingEventArgs class instead

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

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v20.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 PivotGridMenuEventArgsBase.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