[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Collapse]WPF Controls
  Prerequisites
 [Expand]What's Installed
 [Expand].NET Core 3 Support
 [Expand]Common Concepts
 [Expand]MVVM Framework
 [Collapse]Controls and Libraries
   Reporting
  [Expand]Data Grid
  [Expand]Ribbon, Bars and Menu
  [Expand]Charts Suite
  [Expand]Pivot Grid
  [Collapse]Scheduler
   [Expand]Getting Started
   [Expand]Appointments
    Resources
    Reminders
    Time Regions
   [Expand]Views
   [Expand]Visual Elements
   [Expand]Styles and Templates
   [Expand]Design-Time Features
    Time Zones
   [Expand]Data Binding
    Appearance Customization
    Grouping
    Selecting
    Clipboard Operations
    Printing Templates
    Drag and Drop Customization
    Navigating
    Printing
    End-User Restrictions
   [Expand]Examples
    Migration Guidelines
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Tree List
  [Expand]Gauge Controls
  [Expand]Map Control
  [Expand]Layout Management
  [Expand]Windows Modern UI
  [Expand]Printing-Exporting
  [Expand]Data Editors
  [Expand]Navigation Controls
  [Expand]Spell Checker
  [Expand]Property Grid
  [Expand]PDF Viewer
  [Expand]TreeMap Control
  [Expand]Gantt Control
  [Expand]Diagram Control
  [Expand]Windows and Utility Controls
   Dialogs, Notifications and Panels
  [Expand]Scheduler (legacy)
 [Expand]Scaffolding Wizard
 [Expand]Localization
  Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Time Regions

You can use Time Regions to highlight specific time frames.

To create a Time Region, add a TimeRegionItem (see TimeRegionItem) object to the SchedulerControl.TimeRegionItems collection.

Brushes are used to paint Time Regions. See the Appearance Customization topic for more information.

Specify the SchedulerItemBase.ResourceId property to show a Time Region only for a specific resource when the scheduler is grouped.

Use the view's TimeRegionContentTemplate (see SchedulerViewBase.TimeRegionContentTemplate) and TimeRegionContentTemplateSelector (see SchedulerViewBase.TimeRegionContentTemplateSelector) properties to display custom content within Time Regions.

The following views support Time Regions:

Expanded Recurrent Time Regions

You can create a recurrent Time Region in the same manner as a recurrent appointment. Set the Type (see TimeRegionItem.Type) property to Pattern (see TimeRegionType.Pattern) and specify the RecurrenceInfo (see SchedulerItemBase.RecurrenceInfo) property value.

Refer to the Recurrence topic for more information about recurrences.

Is this topic helpful?​​​​​​​