GridView.ShowGridMenu Event
In This Article
OBSOLETE
You should use the 'Popup
Enables you to customize or prohibit grid context menus.
Namespace: DevExpress.XtraGrid.Views.Grid
Assembly: DevExpress.XtraGrid.v24.2.dll
NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation
#Declaration
[Browsable(false)]
[DXCategory("Behavior")]
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("You should use the 'PopupMenuShowing' instead", false)]
public event GridMenuEventHandler ShowGridMenu
#Event Data
The ShowGridMenu event's data class is GridMenuEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
Allow |
Gets or sets whether to display the context menu.
Inherited from Base |
Hit |
Gets an object that identifies a clicked element.
Inherited from Popup |
Menu |
Gets or sets the popup menu that is about to be displayed.
Inherited from Popup |
Menu |
Gets the type of the Grid View’s menu to be invoked.
Inherited from Popup |
Point |
Gets or sets coordinates of the invoked context menu (top-left corner) relative to the parent control.
Inherited from Base |
Screen |
Gets coordinates of the invoked context menu (top-left corner) relative to the screen.
Inherited from Base |
The event data class exposes the following methods:
Method | Description |
---|---|
Show |
Invokes a custom context menu instead of the control’s menu.
Inherited from Base |
Show |
Invokes a custom context menu instead of the control’s menu.
Inherited from Base |
#Remarks
The ShowGridMenu event is obsolete. Use the GridView.PopupMenuShowing event instead.
See Also