A newer version of this page is available. Switch to the current version.

GridMenuEventHandler Delegate

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

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v19.2.dll

Declaration

[Obsolete("You should use the 'PopupMenuShowingEventHandler' instead", false)]
public delegate void GridMenuEventHandler(
    object sender,
    GridMenuEventArgs e
);
<Obsolete("You should use the 'PopupMenuShowingEventHandler' instead", False)>
Public Delegate Sub GridMenuEventHandler(
    sender As Object,
    e As GridMenuEventArgs
)

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