PopupMenuShowingEventArgs(GridMenuType, GridViewMenu, GridHitInfo, Boolean) Constructor

Initializes a new instance of the PopupMenuShowingEventArgs class with the specified menu type, menu object, hit information and a value indicating whether or not a popup menu should be shown.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v20.1.dll


public PopupMenuShowingEventArgs(
    GridMenuType menuType,
    GridViewMenu menu,
    GridHitInfo hitInfo,
    bool allow
Public Sub New(
    menuType As GridMenuType,
    menu As GridViewMenu,
    hitInfo As GridHitInfo,
    allow As Boolean


Name Type Description
menuType GridMenuType

A GridMenuType enumeration value specifying the type of the popup menu. This value is assigned to the PopupMenuShowingEventArgs.MenuType property.

menu DevExpress.XtraGrid.Menu.GridViewMenu

A DevExpress.XtraGrid.Menu.GridViewMenu object specifying the popup menu. This value is assigned to the PopupMenuShowingEventArgs.Menu property.

hitInfo GridHitInfo

A GridHitInfo object specifying information on a clicked element. This value is assigned to the PopupMenuShowingEventArgs.HitInfo property.

allow Boolean

true if a popup menu is enabled; otherwise, false. This value is assigned to the PopupMenuShowingEventArgs.Allow property.


Instances of the PopupMenuShowingEventArgs class are automatically created, initialized and passed to the corresponding event handlers.

See Also