Skip to main content
All docs
V24.1

YearView.MenuItemId Property

Gets an identifier for the context menu command that enables the Year View.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v24.1.dll

NuGet Package: DevExpress.Win.Scheduler

Declaration

[Browsable(false)]
public override SchedulerMenuItemId MenuItemId { get; }

Property Value

Type Description
SchedulerMenuItemId

A SchedulerMenuItemId enumeration value.

Available values:

Show 74 items
Name Description
Custom

Any custom menu item. You can add your custom menu items by handling the PopupMenuShowing event.

OpenAppointment

The Open item of the context menu which is invoked when an appointment is clicked with the right mouse button. Selecting this item invokes the Edit Appointment dialog which allows the properties of the current appointment to be edited. Note that if the appointment is recurring, then this item only allows the current appointment to be edited, not its entire series.

SchedulerMenuItemId.OpenAppointment

PrintAppointment

For internal use only.

DeleteAppointment

The Delete item of the context menu which is invoked when an appointment is clicked with the right mouse button. Selecting this item removes the current appointment. If the current appointment is recurring, then the Delete Series dialog will be invoked.

SchedulerMenuItemId.DeleteAppointment

EditSeries

The Edit Series item of the context menu which is invoked when a recurring appointment is clicked with the right mouse button. Selecting this item invokes the Edit Appointment dialog which allows the entire series of recurring appointments to be edited.

SchedulerMenuItemId.EditSeries

NewAppointment

The New Appointment item of the context menu which is invoked when a view’s time cells that don’t contain any appointments are clicked with the right mouse button. Selecting this item invokes the Edit Appointment dialog used to create a new appointment.

SchedulerMenuItemId.NewAppointment

NewAllDayEvent

The New All-Day Event item of the context menu which is invoked when the view’s time cells that don’t contain any appointments are clicked with the right mouse button. Selecting this item invokes the Edit Appointment dialog used to create a new all-day appointment (in this case the Appointment.AllDay option in the dialog is checked).

SchedulerMenuItemId.NewAllDayEvent

NewRecurringAppointment

The New Recurring Appointment item of the context menu which is invoked when a view’s time cells that don’t contain any appointments are clicked with the right mouse button. Selecting this item invokes the Edit Appointment dialog used to create a new appointment, and also invokes the Recurrence dialog which allows the recurrence pattern to be specified for the new appointment.

SchedulerMenuItemId.NewRecurringAppointment

NewRecurringEvent

The New Recurring Event item of the context menu which is invoked when a view’s time cells that don’t contain any appointments are clicked with the right mouse button. Selecting this item invokes the Edit Appointment dialog used to create a new all-day appointment (in this case the Appointment.AllDay option in the dialog is checked), and also invokes the Recurrence dialog which allows the recurrence pattern to be specified for the new appointment.

SchedulerMenuItemId.NewRecurringEvent

GotoThisDay

The Go to This Day item of the context menu which is invoked when any of the view’s time cells that don’t contain any appointments are clicked with the right mouse button (only in a Week or Month view). Selecting this item changes the current view to the Day and sets the date displayed in this view to the selected date.

SchedulerMenuItemId.GotoThisDay

GotoToday

The Go to Today item of the context menu which is invoked when any of the view’s time cells that don’t contain any appointments are clicked with the right mouse button. Selecting this item changes the date displayed in the current view to the current date on the local machine.

SchedulerMenuItemId.GotoToday

GotoDate

The Go to Date item of the context menu which is invoked when the view’s time cells which don’t contain any appointments are clicked with the right mouse button. Selecting this item invokes the Go To Date dialog which allows the date displayed in the current view to be changed.

SchedulerMenuItemId.GotoDate

OtherSettings

For internal use only.

CustomizeCurrentView

For internal use only.

CustomizeTimeRuler

The Customize Time Ruler item of the context menu which is invoked when the time ruler is clicked with the right mouse button. Selecting this item invokes the Time Ruler dialog which allows the properties of the current time ruler to be edited.

SchedulerMenuItemId.CustomizeTimeRuler

AppointmentDragMove

The Move item of the context menu which is invoked after an appointment has been clicked and dragged with the right mouse button. Selecting this item moves the appointment to the time period which it was dragged to.

SchedulerMenuItemId.AppointmentDragMove

AppointmentDragCopy

The Copy item of the context menu which is invoked after an appointment has been clicked and dragged with the right mouse button. Selecting this item copies the dragged appointment and inserts a copy at the time period which the appointment being copied was dragged to.

SchedulerMenuItemId.AppointmentDragCopy

AppointmentDragCancel

The Cancel item of a context menu which is invoked after an appointment has been clicked and dragged with the right mouse button. Selecting this item cancels the dragging of the appointment.

SchedulerMenuItemId.AppointmentDragCancel

StatusSubMenu

The Show Time As item of the context menu which is invoked after an appointment has been clicked with the right mouse button, and also the entire submenu which is opened with this menu item.

SchedulerMenuItemId.StatusSubMenu

LabelSubMenu

The Label As item of the context menu which is invoked after an appointment has been clicked with the right mouse button, and also the entire submenu which is opened with this menu item.

SchedulerMenuItemId.LabelSubMenu

RulerMenu

The entire context menu which is invoked when the time ruler is clicked with the right mouse button. Note that the corresponding items for this context menu are specified by the UserInterfaceObject.MenuCaption property of each time slot.

SchedulerMenuItemId.RulerMenu

AppointmentMenu

The entire context menu which is invoked after an appointment has been clicked with the right mouse button.

SchedulerMenuItemId.AppointmentMenu

DefaultMenu

The entire context menu which is invoked when the view’s time cells that don’t contain any appointments are clicked with the right mouse button.

SchedulerMenuItemId.DefaultMenu

AppointmentDragMenu

The entire context menu which is invoked after an appointment has been clicked and dragged with the right mouse button.

SchedulerMenuItemId.AppointmentDragMenu

RestoreOccurrence

The Restore Default State item of the context menu which is invoked when a changed recurring appointment (which Appointment.Type property is equal to ChangedOccurrence) is clicked with the right mouse button. This item is accessible for recurring appointments only. Selecting this item restores the default state of the appointment as it was generated by the recurrence pattern.

SchedulerMenuItemId.RestoreOccurence

SwitchViewMenu

The Change View To item of the context menu which is invoked when a view’s time cells that don’t contain any appointments are clicked with the right mouse button, and also the entire submenu which is opened with this menu item.

SchedulerMenuItemId.SwitchViewMenu

SwitchToDayView

The Day View check item of the Change View To submenu of the context menu which is invoked when a view’s time cells that don’t contain any appointments are clicked with the right mouse button. Selecting this item changes the SchedulerControl.ActiveView to the Day View.

SchedulerMenuItemId.SwitchToDayView

SwitchToWorkWeekView

The Work Week View check item of the Change View To submenu of the context menu which is invoked when a view’s time cells that don’t contain any appointments are clicked with the right mouse button. Selecting this item changes the SchedulerControl.ActiveView to the Work Week View.

SchedulerMenuItemId.SwitchToWorkWeekView

SwitchToWeekView

The Week View check item of the Change View To submenu of the context menu which is invoked when a view’s time cells that don’t contain any appointments are clicked with the right mouse button. Selecting this item changes the SchedulerControl.ActiveView to the Week View.

SchedulerMenuItemId.SwitchToWeekView

SwitchToMonthView

The Month View check item of the Change View To submenu of the context menu which is invoked when a view’s time cells that don’t contain any appointments are clicked with the right mouse button. Selecting this item changes the SchedulerControl.ActiveView to the Month View.

SchedulerMenuItemId.SwitchToMonthView

SwitchToTimelineView

The Timeline View check item of the Change View To submenu of the context menu, invoked on a right click within the scheduler display area not occupied by appointments. Selecting this item changes the SchedulerControl.ActiveView to the Timeline View.

SchedulerMenuItemId.SwitchToTimeLineView

TimeScaleEnable

Any of the Time Scales menu item of the popup menu invoked on a right click within the scheduler display area not occupied by appointments, when the scheduler’s view is the Timeline View. Checking these items enables the corresponding Timeline scales.

The entire submenu opened by this menu item has the same Id.

SchedulerMenuItemId.SwitchTimeScale

TimeScaleVisible

Check items of the Time Scale Captions submenu in the context menu invoked on a right click within the scheduler display area not occupied by appointments. Checking these items makes the corresponding Timeline scales visible.

The entire submenu opened by this menu item has the same Id.

SchedulerMenuItemId.TimeScaleVisible

SwitchTimeScale

For internal use only.

SplitAppointment

This menu item is associated with a command to switch the Scheduler into a Split mode. See the How to: Split Appointments and Series article for more information.

SwitchToGroupByNone

SchedulerMenuItemId.SwitchToGroupByNone

A command to set the SchedulerControl.GroupType to the SchedulerGroupType.None.

The default menu does not contain this item. Handle the PopupMenuShowing event, to insert the SwitchToGroupByNone item.

SwitchToGroupByDate

SchedulerMenuItemId.SwitchToGroupByDate

A command to set the SchedulerControl.GroupType to the SchedulerGroupType.Date.

The default menu does not contain this item. Handle the PopupMenuShowing event, to insert the SwitchToGroupByDate item.

SwitchToGroupByResource

SchedulerMenuItemId.SwitchToGroupByResource

A command to set the SchedulerControl.GroupType to the SchedulerGroupType.Resource.

The default menu does not contain this item. Handle the PopupMenuShowing event, to insert the SwitchToGroupByResource item.

SwitchToGanttView

The Gantt View check item of the Change View To submenu of the context menu which is invoked when time cells that don’t contain any appointments are clicked with the right mouse button. Selecting this item changes the SchedulerControl.ActiveView to the Gantt View.

SchedulerMenuItemId.SwitchToGanttView

AppointmentDependencyCreation

The Create Dependency item of the context menu which is invoked when an appointment is clicked with the right mouse button. Selecting this item enables the user to drag a line from the current (the Parent) appointment to another (Dependent) appointment to establish a dependency. By default, the type of dependency is AppointmentDependencyType.FinishToStart.

SchedulerMenuItemId.AppointmentDependencyCreation

CollapseResource

Menu item that corresponds to the command used to collapse a resource tree in a hierarchical view displayed by the ResourcesTree control.

ExpandResource

Menu item that corresponds to the command used to expand a resource tree in a hierarchical view displayed by the ResourcesTree control.

OpenAppointmentDependency

The Edit item of the context menu which is invoked when a dependency line is clicked with the right mouse button. Selecting this item invokes the AppointmentDependencyForm dialog which enables the user to change the dependency type.

SchedulerMenuItemId.OpenAppointmentDependency

AppointmentDependencyMenu

The entire context menu which is invoked after a dependency line has been clicked with the right mouse button.

SchedulerMenuItemId.AppointmentDependencyMenu

DeleteAppointmentDependency

The Delete item of the context menu which is invoked when a dependency line is clicked with the right mouse button. Selecting this item deletes the selected dependency.

SchedulerMenuItemId.DeleteAppointmentDependency

PrintPreview

For internal use only.

Print

For internal use only.

PrintPageSetup

For internal use only.

SwitchTimeScalesTo

For internal use only.

SwitchTimeScalesTo5MinutesSlot

For internal use only.

SwitchTimeScalesTo6MinutesSlot

For internal use only.

SwitchTimeScalesTo10MinutesSlot

For internal use only.

SwitchTimeScalesTo15MinutesSlot

For internal use only.

SwitchTimeScalesTo30MinutesSlot

For internal use only.

SwitchTimeScalesTo60MinutesSlot

For internal use only.

SwitchShowWorkTimeOnly

For internal use only.

SwitchCompressWeekend

For internal use only.

SwitchCellsAutoHeight

For internal use only.

ToggleRecurrence

For internal use only.

ChangeAppointmentStatusUI

For internal use only.

ChangeAppointmentLabelUI

For internal use only.

ChangeAppointmentReminderUI

For internal use only.

ChangeTimelineScaleWidthUI

For internal use only.

OpenSchedule

For internal use only.

SaveSchedule

For internal use only.

ChangeSnapToCellsUI

For internal use only.

EditOccurrenceUI

For internal use only.

EditSeriesUI

For internal use only.

DeleteSeriesUI

For internal use only.

DeleteOccurrenceUI

For internal use only.

SetSnapToCells

For internal use only.

SwitchToFullWeekView

The Full Week View check item of the Change View To submenu of the context menu which is invoked when a view’s time cells that don’t contain any appointments are clicked with the right mouse button. Selecting this item changes the SchedulerControl.ActiveView to the Full Week View.

SchedulerMenuItemId.SwitchToFullWeekView

SwitchToAgendaView

The Agenda View check item of the Change View To submenu of the context menu which is invoked when a view’s time cells that don’t contain any appointments are clicked with the right mouse button. Selecting this item changes the SchedulerControl.ActiveView to the Agenda View.

SchedulerMenuItemId.SwitchToAgendaView

SwitchToYearView

The Year View command in the Change View To sub-menu. This command sets the SchedulerControl.ActiveView property to Year.

Scheduler Control - Switch to Year View

To invoke the context menu, a user can right-click a time cell that does not contain any appointments.

See Also