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

PopupMenuShowingEventArgs(GridViewMenu, GridHitInfo) Constructor

Initializes a new instance of the PopupMenuShowingEventArgs class with the specified menu and hit information.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v24.2.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

#Declaration

public PopupMenuShowingEventArgs(
    GridViewMenu menu,
    GridHitInfo hitInfo
)

#Parameters

Name Type Description
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.

#Remarks

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

See Also