Articles in this section

How to show only working hour's in WinUI Scheduler (Calendar)?

The WinUI 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 hour

 

Conclusion

I hope you enjoyed learning about how to show only working hours in WinUI Scheduler (Calendar).

You can refer to our WinUI Scheduler feature tour page to know about its other groundbreaking feature representations and documentation, and how to quickly get started for configuration specifications. You can also explore our 
WinUI Scheduler example
 to understand how to create and manipulate data.

For current customers, you can check out our components from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial to check out our other controls.

If you have any queries or require clarifications, please let us know in the comments section below. You can also contact us through our support forumsDirect-Trac, or feedback portal. We are always happy to assist you!

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