This example uses Time Regions to highlight time intervals with custom colors.
Time Regions allow you to highlight a group of cells (or their parts). To do this, define a collection of Time Region descriptors and assign this collection to the DataSource.TimeRegionsSource property. Use the TimeRegionMappings object to declare mappings to properties from these descriptors:
<dxsch:DataSource ...
TimeRegionsSource="{Binding TimeRegions}">
<dxsch:DataSource.TimeRegionMappings>
<dxsch:TimeRegionMappings Id="Id"
ResourceId="CalendarId"
Start="Start"
End="End"
Brush="Brush"
RecurrenceInfo="RecurrenceInfo"/>
</dxsch:DataSource.TimeRegionMappings>
</dxsch:DataSource>
- WPF Scheduler - Customize Cell Colors
- WPF Scheduler - Disable Resource Colorization
- WPF Scheduler - Filter Time Regions
(you will be redirected to DevExpress.com to submit your response)