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

MenuItemEventHandler Delegate

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

public delegate void MenuItemEventHandler(
    object source,
    MenuItemEventArgs e
);
Public Delegate Sub MenuItemEventHandler(
    source As Object,
    e As MenuItemEventArgs
)

Parameters

Name Type Description
source Object

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

e MenuItemEventArgs

A MenuItemEventArgs object that contains event data.

Remarks

When creating a MenuItemEventHandler 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