Category / Section
How to show only working hour's in WPF Scheduler (Calendar)
1 min read
The WPF Scheduler allows to customize the working hours.
This article explains how to display the working hours in the WPF Scheduler.
XAML
Set the StartHour and EndHour properties of the DaysViewSettings to 9 and 18 for Day, Week, and Work Week Views to show only the working hours of Scheduler.
<Grid x:Name="grid"> <syncfusion:SfScheduler x:Name="scheduler" ViewType="Week" > <syncfusion:SfScheduler.DaysViewSettings> <syncfusion:DaysViewSettings StartHour="9" EndHour="18"/> </syncfusion:SfScheduler.DaysViewSettings> </syncfusion:SfScheduler> </Grid>