[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
 [Expand]What's Installed
 [Expand].NET Core 3 Support
 [Expand]Common Concepts
 [Expand]MVVM Framework
 [Collapse]Controls and Libraries
  [Expand]Data Grid
  [Expand]Ribbon, Bars and Menu
  [Expand]Charts Suite
  [Expand]Pivot Grid
   [Expand]Getting Started
    Time Regions
   [Expand]Visual Elements
   [Expand]Styles and Templates
   [Expand]Design-Time Features
    Time Zones
   [Expand]Data Binding
    Appearance Customization
    Clipboard Operations
    Printing Templates
    Drag and Drop Customization
    End-User Restrictions
    Migration Guidelines
  [Expand]Rich Text Editor
  [Expand]Tree List
  [Expand]Gauge Controls
  [Expand]Map Control
  [Expand]Layout Management
  [Expand]Windows Modern UI
  [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
  Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Report and Dashboard Server
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[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?​​​​​​​