A calendar view that displays one day or multiple dates.
public class DxSchedulerDayView :
The Day view is a calendar (not a list) view that displays one day or several days which follow each other.
To show the Day view with initial settings, add the DxSchedulerDayView component to the markup:
The scheduler with default settings is shown below.
You can change settings to adjust the view, as illustrated in the following code snippet:
WorkTime="@(new DxSchedulerTimeSpanRange(TimeSpan.FromHours(9), TimeSpan.FromHours(18)))"
VisibleTime="@(new DxSchedulerTimeSpanRange(TimeSpan.FromHours(8), TimeSpan.FromHours(19)))"
The code above applies the following changes:
The time scale (time row interval) is set to 15 minutes.
Work time starts at 9 AM and ends at 6 PM, Saturday and Sunday are non-working days (default setting).
The view's visible interval is set from 8 AM to 7 PM. Time cells outside the working time interval has gray background.
The current time indicator (a straight line that indicates the current time) is hidden.
The picture below demonstrates how these settings affect the view.