Back to Devexpress

Week View

wpf-119206-controls-and-libraries-scheduler-views-week-view.md

latest7.1 KB
Original Source

Week View

  • Aug 30, 2023
  • 3 minutes to read

This document introduces the SchedulerControl‘s Week view.

The Week view displays all the appointments for a specific week. To show the view, set the SchedulerControl.ActiveViewIndex property to the necessary view index in the SchedulerControl.Views collection, which stores all views defined in the scheduler.

Note

The SchedulerControl has all views with the default settings enabled out-of-the-box. If you declare any view in XAML or create views using the SchedulerControl’s smart tag, only the declared views become available. You can specify any number of views with the same type and different settings.

The Week view is the WeekView class in the Scheduler API. It inherits the DayViewBase and ViewBase classes.

The following properties affect the view’s appearance and functionality:

PropertyDescription
SchedulerControl.FirstDayOfWeekGets the day which the SchedulerControl‘s week starts from.
DayViewBase.ShowWorkTimeOnlyGets or sets a value indicating whether the SchedulerControl should show its data only for the working hours in the Day View, Work Week View, and Week View. This is a dependency property.
SchedulerControl.WorkTimeGets or sets the work time interval. This is a dependency property.
SchedulerControl.CustomWorkTimeAllows you to specify several custom work time intervals per day, which can be set differently for distinct days and resources.
SchedulerControl.GroupTypeGets or sets the type of grouping applied to the Scheduler. This is a dependency property.
SchedulerViewBase.ShowDayHeadersGets or sets whether to display day headers. This is a dependency property.
SchedulerViewBase.ShowResourceHeadersGets or sets whether to display resource headers. This is a dependency property.
SchedulerViewBase.ResourcesPerPageGets or sets the maximum number of simultaneously displayed resources. This is a dependency property.
SchedulerViewBase.ShowResourceNavigatorGets or sets whether to display the resource navigator. This is a dependency property.
DayViewBase.ShowAllDayAreaGets or sets a value indicating whether the All-Day Area is shown in the Day View, Work Week View, and Week View. This is a dependency property.
SchedulerViewBase.NavigationButtonsVisibilityGets or sets whether to display appointment navigation buttons. This is a dependency property.
SchedulerViewBase.MoreButtonsVisibilityGets or sets the visibility state of More buttons in the current View. This is a dependency property.
DayViewBase.VisibleTimeGets or sets the time of the view’s day interval for the Day View, Work Week View, and Week View. This is a dependency property.
DayViewBase.SnapToCellsModeGets or sets the method of snapping appointments to time cells in the Day View, Work Week View, and Week View. This is a dependency property.
DayViewBase.AppointmentMinHeightGets or sets the minimum height of appointments in the Day View, Work Week View, and Week View. This is a dependency property.
DayViewBase.TimeIndicatorVisibilityGets or sets a mode that specifies how to display the Time Indicator in the Day View, Work Week View, and Week View. This is a dependency property.
DayViewBase.ShowTimeIndicatorOverAppointmentGets or sets a value indicating whether the Time Indicator is displayed over appointments in the Day View, Work Week View, and Week View. This is a dependency property.
SchedulerViewBase.HorizontalScrollBarVisibilityGets or sets the horizontal scrollbar visibility mode. This is a dependency property.
SchedulerViewBase.VerticalScrollBarVisibilityGets or sets the vertical scrollbar visibility mode. This is a dependency property.