Back to Devexpress

Pop-up Menus

windowsforms-119049-controls-and-libraries-scheduler-visual-elements-pop-up-menus.md

latest2.2 KB
Original Source

Pop-up Menus

  • Jan 23, 2019

The Scheduler has three types of context (pop-up) menus that enable an end-user to manage views, appointments and adjust time ruler settings. The SchedulerControl provides the dedicated event that allows you to customize context menus by adding or removing items.

Context Menus Overview

Menu TypeDescriptionImageProperty
Default Popup MenuThis menu is shown when an end-user right-clicks time cells that do not contain any appointments.SchedulerMenuItemId.DefaultMenu
Appointment Popup MenuThis menu is shown when an end-user right-clicks an appointment.SchedulerMenuItemId.AppointmentMenu
Time Ruler Popup MenuThis menu is shown when an end-user right-clicks an time ruler.SchedulerMenuItemId.RulerMenu

Customizing Context Menus in Code

Handle the SchedulerControl.PopupMenuShowing event to customize context menus at runtime. The SchedulerMenuItem enumeration lists all types of Scheduler popup menu items. Refer to the How to: Customize the Popup Menu topic for details.

See Also

Customize the Popup Menu