Skip to main content
A newer version of this page is available. .

PrepareContextMenuEventHandler Delegate


You should use the 'PopupMenuShowingEventHandler' instead.

A method that handles the SchedulerControl.PrepareContextMenu event.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v19.1.dll


[Obsolete("You should use the 'PopupMenuShowingEventHandler' instead.", false)]
public delegate void PrepareContextMenuEventHandler(
    object sender,
    PrepareContextMenuEventArgs e


Name Type Description
sender Object

The event source. This parameter identifies the SchedulerControl which raised the event.

e PrepareContextMenuEventArgs

A PrepareContextMenuEventArgs object which contains event data.


When creating a PrepareContextMenuEventHandler 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.

See Also