Back to Devexpress

PivotGridMenuEventArgs Class

windowsforms-devexpress-dot-xtrapivotgrid-23e5fdd3.md

latest2.3 KB
Original Source

PivotGridMenuEventArgs Class

OBSOLETE

Use the PopupMenuShowingEventArgs class instead

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

Namespace : DevExpress.XtraPivotGrid

Assembly : DevExpress.XtraPivotGrid.v25.2.dll

NuGet Package : DevExpress.Win.PivotGrid

Declaration

csharp
[Obsolete("Use the PopupMenuShowingEventArgs class instead")]
public class PivotGridMenuEventArgs :
    PopupMenuShowingEventArgs
vb
<Obsolete("Use the PopupMenuShowingEventArgs class instead")>
Public Class PivotGridMenuEventArgs
    Inherits 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.

Inheritance

Object EventArgs BasePopupMenuShowingEventArgs PivotGridMenuEventArgsBase PopupMenuShowingEventArgs PivotGridMenuEventArgs

See Also

PivotGridMenuEventArgs Members

DevExpress.XtraPivotGrid Namespace