Articles in this section
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>

View Sample in GitHub

Show only working hours in WPF Scheduler.

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please  to leave a comment
Access denied
Access denied