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

PrepareContextMenuEventHandler Delegate

Obsolete. A method that handles the SchedulerControl.PrepareContextMenu event.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v19.1.dll

Declaration

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

Parameters

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.

Remarks

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