Skip to content

Use Time Regions to highlight time intervals with custom colors.

License

Notifications You must be signed in to change notification settings

DevExpress-Examples/wpf-scheduler-highlight-time-intervals

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WPF Scheduler - Highlight Time Intervals

This example uses Time Regions to highlight time intervals with custom colors.

image

Implementation Details

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>

Files to Review

Documentation

More Examples

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)

About

Use Time Regions to highlight time intervals with custom colors.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •