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

GridMenuEventHandler Delegate

OBSOLETE

You should use the 'PopupMenuShowingEventHandler' instead

Represents a method that will handle the GridView.PopupMenuShowing event.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v24.2.dll

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

#Declaration

[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("You should use the 'PopupMenuShowingEventHandler' instead", false)]
public delegate void GridMenuEventHandler(
    object sender,
    GridMenuEventArgs e
);

#Parameters

Name Type Description
sender Object

The event sender. Identifies the View that raised the event.

e GridMenuEventArgs

A GridMenuEventArgs object that contains event data.

#Remarks

When you create a GridMenuEventHandler delegate, you identify the method that will handle the corresponding event. To associate an event with your event handler, add an instance of the delegate to the event. The event handler is called whenever the event occurs, unless you remove the delegate.

See Also