Back to Devexpress

BootstrapClientMenuItemEventHandler<Sender> Interface

aspnetbootstrap-js-bootstrapclientmenuitemeventhandler-1.md

latest1.2 KB
Original Source

BootstrapClientMenuItemEventHandler<Sender> Interface

A method that will handle the menu’s client events concerning manipulations with an item.

Declaration

ts
interface BootstrapClientMenuItemEventHandler<Sender> { (source: Sender, e: BootstrapClientMenuItemEventArgs): void; }

Parameters

NameTypeDescription
sourceSender

An object representing the event source. Identifies the BootstrapMenu control that raised the event.

| | e | BootstrapClientMenuItemEventArgs |

An BootstrapClientMenuItemEventArgs object that contains event data.

|

Remarks

When creating a BootstrapClientMenuItemEventHandler<Sender> delegate, you identify the method that will handle the corresponding event. To associate an event with your event handler, add a delegate instance to this 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.