Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Collapse]WinForms Controls
  Prerequisites
 [Expand]What's Installed
 [Expand]Build an Application
 [Collapse]Controls and Libraries
  [Expand]Forms and User Controls
  [Expand]Messages, Notifications and Dialogs
  [Expand]Editors and Simple Controls
  [Expand]Ribbon, Bars and Menu
  [Expand]Application UI Manager
  [Expand]Docking Library
  [Expand]Data Grid
  [Expand]Vertical Grid
  [Expand]Pivot Grid
  [Expand]Tree List
  [Expand]Chart Control
  [Expand]Diagrams
  [Expand]Gauges
  [Expand]Map Control
  [Collapse]Scheduler
   [Expand]Product Information
   [Expand]Getting Started
   [Collapse]Fundamentals
    [Expand]Scheduler Elements
    [Expand]Scheduler Structure
    [Expand]Appointments
     Resources for Appointments
    [Collapse]Views
      Day View
      Work Week View
      Full Week View
      Week View
      Month View
      Timeline View
      Gantt View
      Agenda View
    [Expand]Data Binding
    [Expand]Mappings
    [Expand]Supported Formats
    [Expand]Services
    [Expand]Time Zones
     Printing
    [Expand]Scheduler Reporting
   [Expand]Visual Elements
   [Expand]Design-Time Features
   [Expand]Examples
   [Expand]End-User Capabilities
   [Expand]Member Tables
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Spell Checker
  [Expand]Form Layout Managers
  [Expand]Navigation Controls
  [Expand]Printing-Exporting
  [Expand]PDF Viewer
   Reporting
  [Expand]Snap
  [Expand]TreeMap Control
 [Expand]Common Features
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Week View

The Week View displays appointments for any given weekly period. The view is implemented by the WeekView class, accessible by using the SchedulerControl.WeekView property. To show the view, set the SchedulerControl.ActiveViewType property to the SchedulerViewType.Week type.

Week view displays Saturday and Sunday in a single day cell, so if the first day of the week (the SchedulerOptionsViewBase.FirstDayOfWeek property) is set to Sunday, the view shows a week earlier with the first day of the week set to Monday.

Important

The Week View is disabled by default, since this view is outdated and provided for compatibility with the earlier versions of the XtraScheduler. It is recommended to use the equivalent Full Week View, which provides a more flexible way to schedule and view appointments for the entire week. If you still wish to use the Week View, enable it by setting the SchedulerViewBase.Enabled property to true.

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

Member Name

Description

WeekView.Appearance Provides access to the properties that control the appearance of the WeekView's elements.
SchedulerViewBase.AppointmentDisplayOptions Provides access to the WeekViewAppointmentDisplayOptions instance containing appointment's display options for the WeekView.
SchedulerControl.SelectedInterval Gets the time interval currently selected in the scheduler's active view by an end-user.
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.

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 Fires when the SchedulerViewBase.GroupType is set to the SchedulerGroupType.Date. 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

Expanded See Also

How would you rate this topic?​​​​​​​