You can use Time Regions to highlight specific time frames.
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.
XAML |
<dxsch:SchedulerControl.TimeRegionItems>
<dxsch:TimeRegionItem
Type ="Pattern"
Start="1/1/2019 13:00:00" End="1/1/2019 14:00:00"
RecurrenceInfo="{dxsch:RecurrenceDaily Start='1/1/2019 13:00:00', ByDay=WorkDays}"
BrushName="{x:Static dxsch:DefaultBrushNames.TimeRegion3Hatch}"
/>
</dxsch:SchedulerControl.TimeRegionItems>
|
Refer to the Recurrence topic for more information about recurrences.