Skip to main content

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.1.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