Skip to main content
A newer version of this page is available. .

Month View

  • 2 minutes to read

The Month View is the least detailed of the views, and is designed to allow your end-users to browse and analyze long-term plans. This view positions the days one after another horizontally so that they form weeks, while weeks are placed one under another. The view is implemented by the MonthView class, accessible by using the SchedulerControl.MonthView property. To show the view, set the SchedulerControl.ActiveViewType property to the SchedulerViewType.Month type.

Docs_Fundamentals_Views_MonthView01.png

The following table lists the main properties of the MonthView class which implement its basic functionality.

Member Name Description
MonthView.Appearance Provides access to the properties that control the appearance of the MonthView’s elements.
SchedulerViewBase.AppointmentDisplayOptions Provides access to the MonthViewAppointmentDisplayOptions instance containing appointment’s display options for the MonthView.
MonthView.CompressWeekend Gets or sets a value indicating if the weekend days (Saturday and Sunday) should be displayed as one day.
SchedulerControl.SelectedInterval Gets the time interval currently selected in the scheduler’s active view by an end-user.
MonthView.ShowWeekend Gets or sets a value indicating if the scheduler should also show its data for the weekend days (Saturday and Sunday) in a Month View.
SchedulerViewBase.GetVisibleIntervals Returns a copy of the visible time interval collection for the current view.
SchedulerViewBase.SetVisibleIntervals Fills the visible time interval collection with new items.
MonthView.WeekCount Gets or sets the number of weeks that are simultaneously displayed within the Week View.

The following table lists events which allow you to customize the View’s layout.

Event Name Description
SchedulerControl.CustomDrawWeekViewTopLeftCorner Fires when the SchedulerViewBase.GroupType is set to the SchedulerGroupType.Date. Allows you to manually paint square area at the left corner of the view.
SchedulerControl.CustomDrawDayOfWeekHeader Allows you to manually paint Day of Week Headers.
SchedulerControl.CustomDrawGroupSeparator Allows you to paint a Group Separator in a custom manner.
SchedulerControl.CustomDrawNavigationButton Allows you to paint Navigation Buttons in a custom manner.
SchedulerControl.CustomDrawResourceHeader Allows you to paint Resource Headers in a custom manner.
SchedulerControl.CustomDrawTimeCell Allows you to paint the Time Cells in a custom manner.

The following table lists services which allow you to customize the View’s layout.

Service Description
HeaderCaptionService Allows you to custom format the header captions.
HeaderToolTipService Allows you to specify custom tooltips for the day headers
See Also