March 20232023 March, 23 Thursday |
Monday | Tuesday | Wednesday | Thursday | Friday | Saturday | Sunday |
---|---|---|---|---|---|---|
27
| 28
| 1 | 2 | 3 | 4 | 5 |
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 | 1
| 2
|
3
| 4
| 5
| 6
| 7
| 8
| 9
|
It is so easy to use the scheduler.
<Scheduler/>
@code{
List<Appointment> appointments = new List<Appointment>();
protected override async void OnAfterRender(bool firstRender)
{
appointments = await GetEventsAsync();
StateHasChanged();
}
private void CreateAppointment(DayClickEventArgs e)
{
// Open some dialog here to create an appointment
}
}