PrepareContextMenuEventHandler Delegate
OBSOLETE
You should use the 'PopupMenuShowingEventHandler' instead.
A method that handles the SchedulerControl.PrepareContextMenu event.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v24.2.dll
Declaration
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("You should use the 'PopupMenuShowingEventHandler' instead.", false)]
public delegate void PrepareContextMenuEventHandler(
object sender,
PrepareContextMenuEventArgs e
);
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.