Back to Devexpress

Work Week View

windowsforms-1772-controls-and-libraries-scheduler-views-work-week-view.md

latest7.0 KB
Original Source

Work Week View

  • Apr 23, 2018
  • 3 minutes to read

The Work-Week View displays appointments for the working days in a particular week. The view is implemented by the WorkWeekView class, accessible by using the SchedulerControl.WorkWeekView property. To show the view, set the SchedulerControl.ActiveViewType property to the SchedulerViewType.WorkWeek type.

The following table lists the main properties of the WorkWeekView class (inherited from the DayView) which implement its basic functionality.

Member NameDescription
WorkWeekView.AppearanceProvides access to the properties that control the appearance of the WorkWeekView’s elements.
DayView.AppointmentDisplayOptionsProvides access to the DayViewAppointmentDisplayOptions instance containing appointments display options for the WorkWeek view.
SchedulerControl.SelectedIntervalGets the time interval currently selected in the scheduler’s active view by an end-user.
DayView.ShowAllDayAreaGets or sets a value which specifies if the All-Day Area is shown when a Scheduler shows its data in the Day view.
DayView.ShowDayHeadersGets or sets a value which specifies if day headers are shown when a scheduler shows its data in the Day or the Work-Week views.
WorkWeekView.ShowFullWeekGets or sets a value indicating whether this view should show full week.
DayView.ShowMoreButtonsOnEachColumnGets or sets a value indicating whether to show the more buttons on each column in the Day View.
DayView.ShowWorkTimeOnlyGets or sets a value indicating if the scheduler should show its data only for the working hours in a Day View.
DayView.StatusLineWidthGets or sets the status line width.
DayView.TimeRulersGets the View’s collection of time rulers.
DayView.TimeScaleGets or sets the time interval for the time zones and time slots in the scheduling area.
DayView.TimeSlotsGets the View’s collection of time slots.
SchedulerViewBase.GetVisibleIntervalsReturns a copy of the visible time interval collection for the current view.
SchedulerViewBase.SetVisibleIntervalsFills the visible time interval collection with new items.
DayView.VisibleTimeGets or sets the time of the view’s day interval.
DayView.WorkTimeGets or sets the work time interval for a Day View.

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

Event NameDescription
SchedulerControl.CustomDrawDayHeaderAllows you to manually paint Day Headers.
SchedulerControl.CustomDrawDayViewAllDayAreaAllows you to manually paint All-Day Area.
SchedulerControl.CustomDrawDayViewTimeRulerAllows you to paint a Time Ruler in a custom manner.
SchedulerControl.CustomDrawGroupSeparatorAllows you to paint a Group Separator in a custom manner.
SchedulerControl.CustomDrawNavigationButtonAllows you to paint Navigation Buttons in a custom manner.
SchedulerControl.CustomDrawResourceHeaderAllows you to paint Resource Headers in a custom manner.
SchedulerControl.CustomDrawTimeCellAllows you to paint the Time Cells in a custom manner.

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

ServiceDescription
TimeRulerFormatStringServiceAllows you to custom format the text of time labels within the Time Ruler.
HeaderCaptionServiceAllows you to custom format the header captions.
HeaderToolTipServiceAllows you to specify custom tooltips for the day headers

See Also

Day View

Week View

Month View

Timeline View