PivotGridMenuEventArgs Class

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

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v20.1.dll


[Obsolete("Use the PopupMenuShowingEventArgs class instead")]
public class PivotGridMenuEventArgs :
<Obsolete("Use the PopupMenuShowingEventArgs class instead")>
Public Class PivotGridMenuEventArgs
    Inherits PopupMenuShowingEventArgs


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