Month View
The Month view of the Scheduler for Blazor shows an entire month to the user.
The Date parameter of the Scheduler controls which month is displayed. It's the one containing the date.
In this article:
View Parameters
The following parameters allow you to configure the month view:
| Attribute | Type and Default Value | Description |
|---|---|---|
ItemsPerSlot | int ( 2) | Indicates the number of appointments that are displayed per day. |
If there are more appointments for a day than per the ItemsPerSlot parameter, an ellipsis button provides access to the DayView for the specific day. You must define a day view so the user can see it. The Scheduler sorts and displays the number of appointments per the ItemsPerSlot parameter, by start time (ascending) and then by end time (descending).
If the ItemsPerSlot parameter is a zero or a negative value, an ArgumentOutOfRangeException is thrown.
Example
You can declare other views as well, this example adds only the Month and Day views for brevity.
Declare the Month and Day views in the markup