Back to Devexpress

PreparePopupMenuEventHandler Delegate

windowsforms-devexpress-dot-xtrascheduler-65dbf36f.md

latest2.1 KB
Original Source

PreparePopupMenuEventHandler Delegate

OBSOLETE

You should use the 'PopupMenuShowingEventHandler' instead.

A method that handles the SchedulerControl.PreparePopupMenuevent.

Namespace : DevExpress.XtraScheduler

Assembly : DevExpress.XtraScheduler.v25.2.dll

NuGet Package : DevExpress.Win.Scheduler

Declaration

csharp
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("You should use the 'PopupMenuShowingEventHandler' instead.", false)]
public delegate void PreparePopupMenuEventHandler(
    object sender,
    PreparePopupMenuEventArgs e
);
vb
<Obsolete("You should use the 'PopupMenuShowingEventHandler' instead.", False)>
<EditorBrowsable(EditorBrowsableState.Never)>
Public Delegate Sub PreparePopupMenuEventHandler(
    sender As Object,
    e As PreparePopupMenuEventArgs
)

Parameters

NameTypeDescription
senderObject

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

| | e | PreparePopupMenuEventArgs |

A PreparePopupMenuEventArgs object which contains event data.

|

Remarks

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

DevExpress.XtraScheduler Namespace