PopupMenuShowingEventArgs(GridMenuType, GridViewMenu, Point, Boolean) Constructor
Initializes a new instance of the PopupMenuShowingEventArgs class with the specified menu type, menu object, menu position and a value indicating whether or not a popup menu should be shown.
Namespace: DevExpress.XtraGrid.Views.Grid
Assembly: DevExpress.XtraGrid.v22.2.dll
NuGet Package: DevExpress.Win.Grid
Declaration
public PopupMenuShowingEventArgs(
GridMenuType menuType,
GridViewMenu menu,
Point point,
bool allow
)
Parameters
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. |
point | Point | A Point object specifying the popup menu. This value is assigned to the PopupMenuShowingEventArgs.Point property. |
allow | Boolean | true if a popup menu is enabled; otherwise, false. This value is assigned to the PopupMenuShowingEventArgs.Allow property. |
Remarks
Instances of the PopupMenuShowingEventArgs class are automatically created, initialized and passed to the corresponding event handlers.