Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

How to: Show Night Shift as One Day in the DayView

Although a night shift from 18.00 to 9.00 occurs across multiple dates, it should be handled as one “Day”. To accomplish this task, specify visible intervals as follows.

schedulerControl1.Views.DayView.VisibleTime.End = System.TimeSpan.Parse("1.09:00:00");
schedulerControl1.Views.DayView.VisibleTime.Start = System.TimeSpan.Parse("18:00:00");

Note that you should assign values in the order shown below - first for the End property of the DayView.VisibleTime range, then for the Start property.