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

MenuItemCommandEventHandler Delegate

A method that will handle specific command events concerning manipulations with menu items.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

public delegate void MenuItemCommandEventHandler(
    object source,
    MenuItemCommandEventArgs e
);
Public Delegate Sub MenuItemCommandEventHandler(
    source As Object,
    e As MenuItemCommandEventArgs
)

Parameters

Name Type Description
source Object

A Object representing the event source. Identifies the menu control that raised the event.

e MenuItemCommandEventArgs

A MenuItemCommandEventArgs object that contains event data.

Remarks

When creating a MenuItemCommandEventHandler delegate, you identify the method that will handle the corresponding event. To associate an event with your event handler, add a delegate instance to the event. The event handler is called whenever the event occurs unless you remove the delegate. For more information about event handler delegates, see Events and Delegates in MSDN.

See Also