Scheduler
Since 0.1.0-alpha.22A calendar of appointments: a day, a week, the working week, a month or a list of the coming days. Drawn on the server, so it shows with no script and no circuit and prints; the view and the date are in the page's address, so its toolbar's arrows, Today and views are links, and Back goes to the page before. The period's title opens a month to go to any date.
Only the days shown are read: an IQueryable (an EF Core query) is filtered by the database, and ItemsProvider is asked for them from anywhere else. On an interactive page, @bind-View and @bind-Date keep the view and date in the component instead of the address.
ToolbarContent adds the page's own toolbar items, and places the toolbar's parts (SchedulerToday, SchedulerArrows, SchedulerPeriod, SchedulerCategories, SchedulerViews, SchedulerNew) among them. AppointmentTemplate draws each appointment's text, and DayHeaderTemplate adds to each day's header.
Appointments a day long or more, and all-day ones (AllDay), are bars across their days; the rest are boxes in their day's column, side by side where they overlap. Times are shown as given, in the app's time zone; today and the now line are the server's clock.
A box shows its title and Detail (such as where it is), not its times: the hours beside it say when, as in Outlook. ShowTime adds them. A month's day lists each appointment with its start.
With Category and Categories, a SchedulerCategory for each kind, appointments take their category's color, and a Categories menu shows or hides each kind; with any hidden, its button is marked.
Appointments and views
Give Scheduler the Items and how to read each one's Start, End and Title. AllDay, Color and Detail are optional.
Static
Preview
Code
@* A small team's week: meetings, a client call, focus time and an all-day offsite, each in the
color of what it's for, with where it is after its title. The toolbar's links change the week and the view. *@
<Scheduler Items="_meetings" Start="m => m.Start" End="m => m.End" Title="m => m.Title" Detail="m => m.Where" AllDay="m => m.AllDay" Color="m => m.Color" />
{
private record Meeting(string Title, DateTime Start, DateTime End, string Color, bool AllDay = false, string? Where = null);
private const string Team = "var(--ib-chart-7)", Clients = "var(--ib-chart-6)", Focus = "var(--ib-chart-5)", Away = "var(--ib-chart-3)";
// This week's working days, so the example always has something to show.
private static readonly DateOnly Monday = WeekMonday();
// The Monday of the week shown today, whichever day the culture starts its week on.
private static DateOnly WeekMonday()
{
var today = DateOnly.FromDateTime(DateTime.Today);
var first = System.Globalization.CultureInfo.CurrentCulture.DateTimeFormat.FirstDayOfWeek;
var start = today.AddDays(-(((int)today.DayOfWeek - (int)first + 7) % 7));
return start.AddDays(((int)DayOfWeek.Monday - (int)first + 7) % 7);
}
private static DateTime At(int day, int hour, int minute = 0) => Monday.AddDays(day).ToDateTime(new TimeOnly(hour, minute));
private readonly Meeting[] _meetings =
[
new("Standup", At(0, 9, 30), At(0, 9, 45), Team), new("Standup", At(1, 9, 30), At(1, 9, 45), Team),
new("Standup", At(2, 9, 30), At(2, 9, 45), Team), new("Standup", At(3, 9, 30), At(3, 9, 45), Team),
new("Sprint planning", At(0, 10), At(0, 11, 30), Team, Where: "Room 4"), new("Design review", At(0, 14), At(0, 15), Team, Where: "Room 2"),
new("Focus: checkout flow", At(1, 10), At(1, 12), Focus), new("Acme renewal call", At(1, 13), At(1, 14), Clients, Where: "Zoom"),
new("1:1 Priya", At(1, 15), At(1, 15, 30), Team), new("Offsite", At(2, 0), At(2, 0), Away, true),
new("Contoso demo", At(3, 11), At(3, 12), Clients, Where: "Contoso HQ"), new("Focus: invoices", At(3, 11), At(3, 13), Focus),
new("Retro", At(4, 15), At(4, 16), Team, Where: "Room 4"), new("Release", At(4, 16), At(4, 17), Team),
];
}Add this example to a page with the izzy CLI:
izzy add component Scheduler --at <file>:<line>Detail goes under the title, here the room, or after it in a short box. The boxes leave out their times, since the hours beside them say when; ShowTime adds them.
Overlapping appointments sit side by side, and those a day long or more are bars across their days. The toolbar's arrows, Today and view menu are links, with the view and date in the page's address, so Back goes back.
The day and week views open scrolled to DayStart, 8:00 by default. The period's title opens a month to go to any date.
With no form, selecting an appointment opens a card beside it with its whole time, Detail, category and Description. It's a popover, so it works without script too.
Adding and editing
To add and change appointments, give an ItemKey and handle OnSave. Each booking opens a form, and New or a click on empty time adds one.
Static
Preview
Code
@* Meeting rooms booked for the week: open a booking to change or delete it, select empty time or
New to add one, or drag a booking to another time. The page saves what the form sends, on a
static page too. *@
<Scheduler TItem="RoomBooking" Items="Store" Start="b => b.Start" End="b => b.End" Title="b => b.Title" Description="b => b.Notes"
Category="b => b.Room" ItemKey="b => b.Id.ToString()" OnSave="Save" OnDelete="Delete" View="SchedulerView.WorkWeek" QueryPrefix="rooms-"
Categories="_kinds" />
{
private readonly SchedulerCategory[] _kinds =
[
new("Aspen", "Aspen (8)"), new("Birch", "Birch (4)"), new("Cedar", "Cedar (12)"),
];
private sealed class RoomBooking
{
public int Id { get; set; }
public string Title { get; set; } = "";
public DateTime Start { get; set; }
public DateTime End { get; set; }
public string Room { get; set; } = "Aspen";
public string? Notes { get; set; }
}
private static readonly DateOnly Monday = WeekMonday();
// The Monday of the week shown today, whichever day the culture starts its week on.
private static DateOnly WeekMonday()
{
var today = DateOnly.FromDateTime(DateTime.Today);
var first = System.Globalization.CultureInfo.CurrentCulture.DateTimeFormat.FirstDayOfWeek;
var start = today.AddDays(-(((int)today.DayOfWeek - (int)first + 7) % 7));
return start.AddDays(((int)DayOfWeek.Monday - (int)first + 7) % 7);
}
private static DateTime At(int day, int hour, int minute = 0) => Monday.AddDays(day).ToDateTime(new TimeOnly(hour, minute));
// An app keeps its bookings in a database; this example keeps them in memory for everyone
// reading the page, and starts again past 40.
private static readonly List<RoomBooking> Store = Seed();
private static List<RoomBooking> Seed() =>
[
new() { Id = 1, Title = "Sprint planning", Start = At(0, 10), End = At(0, 11, 30), Room = "Cedar" },
new() { Id = 2, Title = "Interview: frontend", Start = At(0, 14), End = At(0, 15), Room = "Birch" },
new() { Id = 3, Title = "Design review", Start = At(1, 11), End = At(1, 12), Room = "Aspen", Notes = "Checkout flow, v2" },
new() { Id = 4, Title = "Customer call", Start = At(1, 15), End = At(1, 16), Room = "Birch" },
new() { Id = 5, Title = "All hands", Start = At(2, 16), End = At(2, 17), Room = "Cedar" },
new() { Id = 6, Title = "1:1 Priya", Start = At(3, 9, 30), End = At(3, 10), Room = "Birch" },
new() { Id = 7, Title = "Board prep", Start = At(3, 13), End = At(3, 15), Room = "Aspen" },
new() { Id = 8, Title = "Retro", Start = At(4, 15), End = At(4, 16), Room = "Cedar" },
];
private void Save(SchedulerSave<RoomBooking> save)
{
lock (Store)
{
if (save.IsNew && Store.Count >= 40)
{
Store.Clear();
Store.AddRange(Seed());
}
var booking = save.Item ?? new RoomBooking { Id = Store.Count == 0 ? 1 : Store.Max(b => b.Id) + 1 };
save.CopyTo(booking);
if (save.IsNew) Store.Add(booking);
}
}
private void Delete(SchedulerDelete<RoomBooking> delete)
{
lock (Store) Store.Remove(delete.Item);
}
}OnSave gets the form's values and the booking, none for a new one. CopyTo sets the mapped properties, and AddError keeps the form open with a message. OnDelete adds a Delete button, which asks first.
The form has a field for each mapping: All day with AllDay, which hides the times, a Category choice with Category, here the room, and a description with Description.
Drag a booking to move it, or its bottom edge to change its end, by quarter hours. The form posts on a static page too, so it all works without a circuit.
Categories and colors
To color appointments by what they are, map Category and pass Categories, a SchedulerCategory for each kind. The Categories menu shows or hides each.
Static
Preview
- Soccer practice
Tuesday, November 3, 2026, 5:30 PM to 7:00 PM
Sport
- Piano lesson
Wednesday, November 4, 2026, 4:00 PM to 4:45 PM
School
- Soccer practice
Thursday, November 5, 2026, 5:30 PM to 7:00 PM
Sport
- Parent-teacher night
Friday, November 6, 2026, 6:00 PM to 7:30 PM
School
- Soccer practice
Tuesday, November 10, 2026, 5:30 PM to 7:00 PM
Sport
- Piano lesson
Wednesday, November 11, 2026, 4:00 PM to 4:45 PM
School
- Soccer practice
Thursday, November 12, 2026, 5:30 PM to 7:00 PM
Sport
- Field trip
Friday, November 13, 2026, 8:00 AM to 3:00 PM
School
- Quarterly review
Saturday, November 14, 2026, 9:00 AM to 11:00 AM
Work
Monday, November 9, 2026, All day
Family
- Soccer practice
Tuesday, November 17, 2026, 5:30 PM to 7:00 PM
Sport
- Piano lesson
Wednesday, November 18, 2026, 4:00 PM to 4:45 PM
School
- Soccer practice
Thursday, November 19, 2026, 5:30 PM to 7:00 PM
Sport
Tuesday, November 17, 2026 to Thursday, November 19, 2026
Work
- Dentist
Sunday, November 22, 2026, 10:00 AM to 10:45 AM
Family
- Soccer practice
Tuesday, November 24, 2026, 5:30 PM to 7:00 PM
Sport
- Piano lesson
Wednesday, November 25, 2026, 4:00 PM to 4:45 PM
School
- Soccer practice
Thursday, November 26, 2026, 5:30 PM to 7:00 PM
Sport
- Book fair
Friday, November 27, 2026, 3:00 PM to 5:00 PM
School
Sunday, November 22, 2026 to Monday, November 23, 2026
Sport
Code
@* A family's month: school, work, sport and birthdays, each category in its color. The
Categories menu hides one, and a busy day's "+N more" opens the day. *@
<Scheduler Items="_events" Start="e => e.Start" End="e => e.End" Title="e => e.Title" AllDay="e => e.AllDay"
Category="e => e.Kind" View="SchedulerView.Month" QueryPrefix="family-"
Categories="_kinds" />
{
private readonly SchedulerCategory[] _kinds =
[
new("school", "School"), new("work", "Work"), new("sport", "Sport"), new("family", "Family"),
];
private record Event(string Title, DateTime Start, DateTime End, string Kind, bool AllDay = false);
private static readonly DateOnly First = new(DateTime.Today.Year, DateTime.Today.Month, 1);
private static DateTime On(int day, int hour = 0, int minute = 0) => First.AddDays(day - 1).ToDateTime(new TimeOnly(hour, minute));
// The month's weekdays: soccer practice on Tuesdays and Thursdays, piano on Wednesdays.
private readonly Event[] _events =
[
.. Enumerable.Range(1, DateTime.DaysInMonth(First.Year, First.Month))
.Select(d => First.AddDays(d - 1))
.Where(d => d.DayOfWeek is DayOfWeek.Tuesday or DayOfWeek.Thursday)
.Select(d => new Event("Soccer practice", d.ToDateTime(new TimeOnly(17, 30)), d.ToDateTime(new TimeOnly(19, 0)), "sport")),
.. Enumerable.Range(1, DateTime.DaysInMonth(First.Year, First.Month))
.Select(d => First.AddDays(d - 1))
.Where(d => d.DayOfWeek is DayOfWeek.Wednesday)
.Select(d => new Event("Piano lesson", d.ToDateTime(new TimeOnly(16, 0)), d.ToDateTime(new TimeOnly(16, 45)), "school")),
new("Parent-teacher night", On(6, 18), On(6, 19, 30), "school"),
new("Grandma's birthday", On(9), On(10), "family", true),
new("Field trip", On(13, 8), On(13, 15), "school"),
new("Quarterly review", On(14, 9), On(14, 11), "work"),
new("Business trip", On(17), On(20), "work", true),
new("Tournament", On(22), On(24), "sport", true),
new("Dentist", On(22, 10), On(22, 10, 45), "family"),
new("Book fair", On(27, 15), On(27, 17), "school"),
];
}Categories is a list, so it can come from your data: kinds.Select(k => new SchedulerCategory(k.Id, k.Name, k.Color)).
An appointment's own Color comes first, then its category's, then the palette's. A month's day shows MonthLimit lines, bars and "+N more" included, and "+N more" opens the day.
A form of your own
For what a use case needs, such as a patient and a reason, give an EditDialogForm: your form in the Scheduler's dialog, which it opens and closes as before.
Static
Preview
Code
System.ComponentModel.DataAnnotations
@* A dental clinic's bookings with its own form: the patient, when, the reason, how long and
whether they're insured, with the patient's last visit beside them. The form's model holds only
what it edits, so no other field can be forged, and it says when it has saved. *@
<Scheduler TItem="Visit" Items="_visits" Start="v => v.Start" End="v => v.End" Title="v => v.Patient" Detail="v => v.Reason"
ItemKey="v => v.Id.ToString()" OnSave="Move" View="SchedulerView.WorkWeek" QueryPrefix="dental-">
<EditDialogForm Context="edit">
<Form Model="ModelFor(edit)" FormName="dental-visit" OnValidSubmit="() => SaveAsync(edit)">
<FormErrors />
<TextField @bind-Value="Model!.Patient" Label="Patient" autofocus />
if (LastVisit(Model!.Patient, edit.Item) is { } last)
{
<TextBlock Size="TextSize.Sm" Color="Color.Muted">($"Last visit {last.Start:MMMM d}: {last.Reason}")</TextBlock>
}
<DateField @bind-Value="Model!.Date" Label="Date" />
<TimeField @bind-Value="Model!.Time" Label="Time" Step="TimeSpan.FromMinutes(15)" />
<Select @bind-Value="Model!.Reason" Label="Reason" Items="Reasons" />
<Select @bind-Value="Model!.Minutes" Label="Length" Items="Lengths" ItemText="(m => $"{m} minutes")" />
<Checkbox @bind-Value="Model!.Insured" Label="Insured" />
<DialogFooter>
<Button Submit Accent="Accent.Primary" Variant="ButtonVariant.Solid">Save</Button>
</DialogFooter>
</Form>
</EditDialogForm>
</Scheduler>
{
[CascadingParameter] private HttpContext? Http { get; set; }
[SupplyParameterFromForm(FormName = "dental-visit")]
private VisitEdit? Model { get; set; }
private static readonly string[] Reasons = ["Check-up", "Cleaning", "Filling", "Toothache"];
private static readonly int[] Lengths = [30, 45, 60];
private List<Visit> _visits = [];
// Stands in for your database, with a copy of the bookings for each visitor to this site.
protected override void OnInitialized() => _visits = IzzyBlazor.Site.Examples.DataGrid.ExampleRows.For(Http, "dental-visit", Seed);
// The visit the model was made for: another one opened (after this one was closed unsaved) gets
// its own. A static post's model is the one posted.
private int? _modelFor;
private VisitEdit ModelFor(SchedulerEditFormContext<Visit> edit)
{
var id = edit.Item?.Id ?? 0;
if (Model is null || (_modelFor is { } was && was != id))
{
Model = edit.Item is { } v
? new() { Patient = v.Patient, Date = DateOnly.FromDateTime(v.Start), Time = TimeOnly.FromDateTime(v.Start), Reason = v.Reason, Minutes = (int)(v.End - v.Start).TotalMinutes, Insured = v.Insured }
: new() { Date = DateOnly.FromDateTime(edit.Start), Time = TimeOnly.FromDateTime(edit.Start) };
}
_modelFor = id;
return Model;
}
// The patient's visit before this one, if they've been before.
private Visit? LastVisit(string? patient, Visit? editing) => string.IsNullOrWhiteSpace(patient) ? null : _visits
.Where(v => v != editing && v.Patient.Equals(patient.Trim(), StringComparison.OrdinalIgnoreCase) && v.Start < (editing?.Start ?? DateTime.Now))
.MaxBy(v => v.Start);
private async Task SaveAsync(SchedulerEditFormContext<Visit> edit)
{
var visit = edit.Item ?? new Visit { Id = _visits.Count == 0 ? 1 : _visits.Max(v => v.Id) + 1 };
(visit.Patient, visit.Reason, visit.Insured) = (Model!.Patient!.Trim(), Model.Reason, Model.Insured);
visit.Start = Model.Date.ToDateTime(Model.Time);
visit.End = visit.Start.AddMinutes(Model.Minutes);
if (edit.IsNew) _visits.Add(visit);
await edit.CloseAsync();
(Model, _modelFor) = (null, null);
}
// A booking dragged to a new time: OnSave, as without a form of your own.
private static void Move(SchedulerSave<Visit> save) => save.CopyTo(save.Item!);
private static List<Visit> Seed()
{
var monday = DateOnly.FromDateTime(DateTime.Today).AddDays(-(((int)DateTime.Today.DayOfWeek + 6) % 7));
DateTime At(int day, int hour, int minute = 0) => monday.AddDays(day).ToDateTime(new TimeOnly(hour, minute));
return
[
new() { Id = 1, Patient = "M. Alvarez", Reason = "Cleaning", Start = At(-7, 9), End = At(-7, 9, 30), Insured = true },
new() { Id = 2, Patient = "M. Alvarez", Reason = "Filling", Start = At(0, 9), End = At(0, 10), Insured = true },
new() { Id = 3, Patient = "J. Chen", Reason = "Check-up", Start = At(0, 11), End = At(0, 11, 30) },
new() { Id = 4, Patient = "R. Okafor", Reason = "Toothache", Start = At(1, 8, 30), End = At(1, 9, 15), Insured = true },
new() { Id = 5, Patient = "S. Novak", Reason = "Cleaning", Start = At(2, 14), End = At(2, 14, 30) },
new() { Id = 6, Patient = "J. Chen", Reason = "Filling", Start = At(3, 10), End = At(3, 11) },
];
}
public sealed class Visit
{
public int Id { get; set; }
public string Patient { get; set; } = "";
public string Reason { get; set; } = "Check-up";
public DateTime Start { get; set; }
public DateTime End { get; set; }
public bool Insured { get; set; }
}
public sealed class VisitEdit
{
[Required]
public string? Patient { get; set; }
public DateOnly Date { get; set; }
public TimeOnly Time { get; set; }
public string Reason { get; set; } = "Check-up";
public int Minutes { get; set; } = 30;
public bool Insured { get; set; }
}
}The context has the appointment (none for a new one) and its times (the time clicked, for a new one). Call CloseAsync when your form has saved: the dialog closes, the days shown load again, and focus goes back to the appointment.
The form, its model and its [SupplyParameterFromForm] are yours. On a static page, so is guarding against forged fields: a model that holds only what the form edits.
Dragging to new times still saves through OnSave. A form without times leaves it out, so moving stays something a keyboard can do; this one has the date and time.
Loading by date range
To load only the days shown, give an ItemsProvider: it gets a SchedulerRequest with the range, the view and the hidden categories, and returns the appointments in it.
Static
Preview
Monday, November 30, 2026, 8:30 AM to 9:00 AM
Dr. Moreno
Check-up
Monday, November 30, 2026, 9:00 AM to 9:30 AM
Dr. Moreno
Check-up
Monday, November 30, 2026, 9:30 AM to 10:00 AM
Dr. Moreno
Check-up
Monday, November 30, 2026, 10:00 AM to 10:30 AM
Dr. Patel
Cleaning
Monday, November 30, 2026, 10:00 AM to 10:30 AM
Dr. Moreno
Check-up
Monday, November 30, 2026, 10:30 AM to 11:00 AM
Dr. Moreno
Cleaning
Monday, November 30, 2026, 11:00 AM to 11:30 AM
Dr. Patel
Cleaning
Monday, November 30, 2026, 11:00 AM to 11:30 AM
Dr. Moreno
Cleaning
Monday, November 30, 2026, 11:30 AM to 12:00 PM
Dr. Patel
Check-up
Monday, November 30, 2026, 12:00 PM to 12:30 PM
Dr. Patel
Check-up
Monday, November 30, 2026, 12:30 PM to 1:00 PM
Dr. Moreno
Check-up
Monday, November 30, 2026, 2:00 PM to 3:00 PM
Dr. Patel
Filling
Monday, November 30, 2026, 2:30 PM to 3:00 PM
Dr. Moreno
Check-up
Monday, November 30, 2026, 3:30 PM to 4:00 PM
Dr. Patel
Check-up
Tuesday, December 1, 2026, 8:30 AM to 9:00 AM
Dr. Moreno
Cleaning
Tuesday, December 1, 2026, 9:00 AM to 10:00 AM
Dr. Patel
Filling
Tuesday, December 1, 2026, 10:00 AM to 10:30 AM
Dr. Moreno
Check-up
Tuesday, December 1, 2026, 10:30 AM to 11:00 AM
Dr. Patel
Check-up
Tuesday, December 1, 2026, 11:00 AM to 12:00 PM
Dr. Moreno
Filling
Tuesday, December 1, 2026, 11:30 AM to 12:30 PM
Dr. Patel
Filling
Tuesday, December 1, 2026, 12:00 PM to 1:00 PM
Dr. Moreno
Filling
Tuesday, December 1, 2026, 1:00 PM to 1:30 PM
Dr. Patel
Check-up
Tuesday, December 1, 2026, 1:30 PM to 2:00 PM
Dr. Patel
Check-up
Tuesday, December 1, 2026, 2:00 PM to 2:30 PM
Dr. Patel
Cleaning
Tuesday, December 1, 2026, 2:30 PM to 3:00 PM
Dr. Moreno
Cleaning
Tuesday, December 1, 2026, 3:00 PM to 3:30 PM
Dr. Patel
Cleaning
Tuesday, December 1, 2026, 3:30 PM to 4:00 PM
Dr. Moreno
Check-up
Wednesday, December 2, 2026, 10:00 AM to 10:30 AM
Dr. Patel
Check-up
Wednesday, December 2, 2026, 10:00 AM to 10:30 AM
Dr. Moreno
Check-up
Wednesday, December 2, 2026, 11:30 AM to 12:00 PM
Dr. Patel
Cleaning
Wednesday, December 2, 2026, 11:30 AM to 12:00 PM
Dr. Moreno
Cleaning
Wednesday, December 2, 2026, 12:30 PM to 1:30 PM
Dr. Moreno
Filling
Wednesday, December 2, 2026, 1:00 PM to 1:30 PM
Dr. Patel
Check-up
Wednesday, December 2, 2026, 1:30 PM to 2:00 PM
Dr. Patel
Cleaning
Wednesday, December 2, 2026, 3:00 PM to 4:00 PM
Dr. Patel
Filling
Wednesday, December 2, 2026, 3:00 PM to 4:00 PM
Dr. Moreno
Filling
Thursday, December 3, 2026, 9:00 AM to 9:30 AM
Dr. Patel
Cleaning
Thursday, December 3, 2026, 9:00 AM to 9:30 AM
Dr. Moreno
Cleaning
Thursday, December 3, 2026, 9:30 AM to 10:30 AM
Dr. Patel
Filling
Thursday, December 3, 2026, 10:00 AM to 10:30 AM
Dr. Moreno
Check-up
Thursday, December 3, 2026, 10:30 AM to 11:00 AM
Dr. Moreno
Cleaning
Thursday, December 3, 2026, 11:00 AM to 12:00 PM
Dr. Patel
Filling
Thursday, December 3, 2026, 12:00 PM to 12:30 PM
Dr. Moreno
Cleaning
Thursday, December 3, 2026, 12:30 PM to 1:00 PM
Dr. Patel
Cleaning
Thursday, December 3, 2026, 2:30 PM to 3:00 PM
Dr. Patel
Check-up
Thursday, December 3, 2026, 2:30 PM to 3:00 PM
Dr. Moreno
Cleaning
Thursday, December 3, 2026, 3:00 PM to 4:00 PM
Dr. Moreno
Filling
Thursday, December 3, 2026, 3:30 PM to 4:00 PM
Dr. Patel
Check-up
Friday, December 4, 2026, 10:00 AM to 11:00 AM
Dr. Patel
Filling
Friday, December 4, 2026, 10:00 AM to 10:30 AM
Dr. Moreno
Check-up
Friday, December 4, 2026, 11:00 AM to 11:30 AM
Dr. Patel
Check-up
Friday, December 4, 2026, 11:30 AM to 12:00 PM
Dr. Moreno
Cleaning
Friday, December 4, 2026, 12:30 PM to 1:00 PM
Dr. Patel
Check-up
Friday, December 4, 2026, 1:00 PM to 1:30 PM
Dr. Moreno
Cleaning
Friday, December 4, 2026, 2:30 PM to 3:00 PM
Dr. Moreno
Cleaning
Friday, December 4, 2026, 3:00 PM to 3:30 PM
Dr. Patel
Check-up
Friday, December 4, 2026, 3:00 PM to 3:30 PM
Dr. Moreno
Check-up
Friday, December 4, 2026, 3:30 PM to 4:30 PM
Dr. Patel
Filling
Friday, December 4, 2026, 3:30 PM to 4:00 PM
Dr. Moreno
Check-up
Code
@* A dental clinic's year of appointments, kept where a database would keep them: the Scheduler
asks only for the days shown, and asks again as you move through the weeks. The count in the
toolbar is what it was given. *@
<Scheduler TItem="Visit" ItemsProvider="LoadAsync" Start="v => v.Start" End="v => v.End" Title="v => v.Patient"
Detail="v => v.Dentist" Category="v => v.Kind" Categories="Kinds" View="SchedulerView.WorkWeek" QueryPrefix="clinic-load-">
<ToolbarContent>
<ToolbarText Position="ToolbarPosition.End">($"Loaded {_loaded} of {Clinic.Count:N0} appointments")</ToolbarText>
</ToolbarContent>
</Scheduler>
{
private record Visit(string Patient, string Dentist, string Kind, DateTime Start, DateTime End);
private static readonly SchedulerCategory[] Kinds =
[
new("checkup", "Check-up"), new("cleaning", "Cleaning"), new("filling", "Filling"),
];
private int _loaded;
// Only the visits that touch the days shown, and none of a hidden kind: an app asks its
// database or API the same way.
private async ValueTask<IEnumerable<Visit>> LoadAsync(SchedulerRequest request)
{
var visits = await Clinic.BetweenAsync(request.Start, request.End, request.HiddenCategories, request.CancellationToken);
_loaded = visits.Count;
return visits;
}
// Stands in for the clinic's database: a year of visits around today, made once.
private static class Clinic
{
private static readonly string[] Patients =
["M. Alvarez", "J. Chen", "R. Okafor", "S. Novak", "T. Brooks", "A. Haddad", "L. Moreau", "K. Ito", "P. Singh", "E. Rossi", "D. Kowalski", "N. Mensah"];
private static readonly List<Visit> All = Make();
public static int Count => All.Count;
public static Task<List<Visit>> BetweenAsync(DateTime from, DateTime to, IReadOnlyCollection<string> hidden, CancellationToken cancel) =>
Task.FromResult(All.Where(v => v.Start < to && v.End > from && !hidden.Contains(v.Kind)).ToList());
private static List<Visit> Make()
{
var visits = new List<Visit>();
var first = DateOnly.FromDateTime(DateTime.Today).AddDays(-182);
for (var d = 0; d < 365; d++)
{
var day = first.AddDays(d);
if (day.DayOfWeek is DayOfWeek.Saturday or DayOfWeek.Sunday) continue;
// The same day always has the same visits.
var random = new Random(day.DayNumber);
foreach (var dentist in new[] { "Dr. Patel", "Dr. Moreno" })
{
var at = day.ToDateTime(new TimeOnly(8, 30)).AddMinutes(random.Next(0, 4) * 30);
while (at.Hour < 16)
{
var kind = random.Next(10) switch { < 5 => "checkup", < 8 => "cleaning", _ => "filling" };
var minutes = kind == "filling" ? 60 : 30;
visits.Add(new(Patients[random.Next(Patients.Length)], dentist, kind, at, at.AddMinutes(minutes)));
// A gap now and then: a free slot, or lunch.
at = at.AddMinutes(minutes + random.Next(0, 3) * 30 + (at.Hour == 12 ? 60 : 0));
}
}
}
return visits;
}
}
}It's asked for each page drawn: another week or view, and after a save or a move. An exception shows "Couldn't load the appointments." with Retry. While it loads on an interactive page, the appointments shown stay, and the Scheduler is aria-busy.
With EF Core there's no provider to write: pass the query as Items, and the Scheduler filters it to the days shown in the database.
@bind-View and @bind-Date keep the view and date in the component on an interactive page, instead of the address.
Templates
DayHeaderTemplate adds to each day's header after its date: here, who's out. AppointmentTemplate draws each appointment's text: here, marks for meetings that repeat or are private.
Static
Preview
Code
@* A team's week: who's out shows in each day's header, and each meeting marks whether it
repeats or is private at the end of its row, with its room under its title, as Outlook does. *@
<Scheduler Items="_meetings" Start="m => m.Start" End="m => m.End" Title="m => m.Title"
Detail="m => m.Detail" View="SchedulerView.WorkWeek" QueryPrefix="team-">
<DayHeaderTemplate>
if (Out(context) is { Length: > 0 } people)
{
<AvatarGroup Size="AvatarSize.Xxs" Max="2" Label="($"Out on {context:dddd}")">
foreach (var name in people)
{
<Avatar Name="name" />
}
</AvatarGroup>
}
</DayHeaderTemplate>
<AppointmentTemplate>
<span>
<strong>context.Item.Title</strong>
if (!context.OneLine && context.Item.Room is { } room)
{
<br />room
}
</span>
<Box Grow />
if (context.Item.Repeats)
{
<Icon Name="Lucide.Repeat" Size="IconSize.Sm" />
}
if (context.Item.Private)
{
<Icon Name="Lucide.Lock" Size="IconSize.Sm" />
}
</AppointmentTemplate>
</Scheduler>
{
private record Meeting(string Title, DateTime Start, DateTime End, string? Room = null, bool Repeats = false, bool Private = false)
{
// Screen readers hear the title and this: say what the marks say.
public string Detail => string.Join(", ", new[] { Room, Repeats ? "repeats weekly" : null, Private ? "private" : null }.Where(s => s is not null));
}
// This week's working days, so the example always has something to show.
private static readonly DateOnly Monday = WeekMonday();
private static DateOnly WeekMonday()
{
var today = DateOnly.FromDateTime(DateTime.Today);
var first = System.Globalization.CultureInfo.CurrentCulture.DateTimeFormat.FirstDayOfWeek;
var start = today.AddDays(-(((int)today.DayOfWeek - (int)first + 7) % 7));
return start.AddDays(((int)DayOfWeek.Monday - (int)first + 7) % 7);
}
private static DateTime At(int day, int hour, int minute = 0) => Monday.AddDays(day).ToDateTime(new TimeOnly(hour, minute));
// Who's away, by day: from the team's leave calendar.
private static string[] Out(DateOnly day) => (day.DayNumber - Monday.DayNumber) switch
{
0 => ["Priya Nair"],
2 => ["Tomás Ruiz", "Priya Nair"],
3 => ["Tomás Ruiz", "Lena Park", "Sam Okoro", "Priya Nair"],
_ => [],
};
private readonly Meeting[] _meetings =
[
new("Standup", At(0, 9, 30), At(0, 9, 45), Repeats: true), new("Standup", At(1, 9, 30), At(1, 9, 45), Repeats: true),
new("Standup", At(2, 9, 30), At(2, 9, 45), Repeats: true), new("Standup", At(3, 9, 30), At(3, 9, 45), Repeats: true),
new("Sprint planning", At(0, 10), At(0, 11, 30), "Room 4", Repeats: true),
new("Salary review", At(1, 11), At(1, 12), "Room 2", Private: true),
new("Design critique", At(1, 14), At(1, 15, 30), "Room 4"),
new("Doctor", At(2, 13), At(2, 14), Private: true),
new("Architecture sync", At(3, 11), At(3, 12), "Room 1", Repeats: true),
new("Retro", At(4, 15), At(4, 16), "Room 4", Repeats: true),
];
}The appointment template gets the item, the view and OneLine, true where there's one line: a short box, a bar, a month's row. It's drawn inside the appointment's link or button, so no links or buttons of its own.
Screen readers hear an appointment's title, Detail, category and time, not the template, so Detail says what the marks mean. The day header's content is read, and can hold links.
Toolbar items
ToolbarContent adds your own toolbar items. Write the Scheduler's parts there too, such as SchedulerNew, to place them among yours.
Static
Preview
Code
@* A shared studio calendar with a tool of its own, a menu that shows one studio's sessions (in
the address, so it stays as the weeks change), and New moved to the start, where the booking
staff look first. *@
<Scheduler TItem="Session" Items="Shown" Start="s => s.Start" End="s => s.End" Title="s => s.Client" Detail="s => s.Studio"
ItemKey="s => s.Id.ToString()" OnSave="Save" View="SchedulerView.WorkWeek" QueryPrefix="studio-">
<ToolbarContent>
<SchedulerNew Position="ToolbarPosition.Start" />
<SchedulerToday />
<SchedulerArrows />
<SchedulerPeriod />
<ToolbarMenu Label="(string.IsNullOrEmpty(Room) ? "All studios" : Room)" StartIcon="Lucide.Mic" Position="ToolbarPosition.End">
<MenuRadioGroup Label="Studio" QueryKey="studio-room" Value="(Room ?? "")">
<MenuItem Value="">All studios</MenuItem>
<MenuItem Value="Studio A">Studio A</MenuItem>
<MenuItem Value="Studio B">Studio B</MenuItem>
</MenuRadioGroup>
</ToolbarMenu>
</ToolbarContent>
</Scheduler>
{
[SupplyParameterFromQuery(Name = "studio-room")] private string? Room { get; set; }
private List<Session> Shown => string.IsNullOrEmpty(Room) ? Store : Store.Where(s => s.Studio == Room).ToList();
private sealed class Session
{
public int Id { get; set; }
public string Client { get; set; } = "";
public string Studio { get; set; } = "Studio A";
public DateTime Start { get; set; }
public DateTime End { get; set; }
}
private static readonly DateOnly Monday = WeekMonday();
private static DateOnly WeekMonday()
{
var today = DateOnly.FromDateTime(DateTime.Today);
var first = System.Globalization.CultureInfo.CurrentCulture.DateTimeFormat.FirstDayOfWeek;
var start = today.AddDays(-(((int)today.DayOfWeek - (int)first + 7) % 7));
return start.AddDays(((int)DayOfWeek.Monday - (int)first + 7) % 7);
}
private static DateTime At(int day, int hour) => Monday.AddDays(day).ToDateTime(new TimeOnly(hour, 0));
// An app keeps its sessions in a database; this example keeps them in memory for everyone
// reading the page, and starts again past 30.
private static readonly List<Session> Store = Seed();
private static List<Session> Seed() =>
[
new() { Id = 1, Client = "Northwind podcast", Start = At(0, 10), End = At(0, 12) },
new() { Id = 2, Client = "Lumen Records", Studio = "Studio B", Start = At(1, 13), End = At(1, 17) },
new() { Id = 3, Client = "Vox choir", Start = At(2, 9), End = At(2, 11) },
new() { Id = 4, Client = "Ad read: Contoso", Studio = "Studio B", Start = At(3, 15), End = At(3, 16) },
];
private void Save(SchedulerSave<Session> save)
{
lock (Store)
{
if (save.IsNew && Store.Count >= 30)
{
Store.Clear();
Store.AddRange(Seed());
}
var target = save.Item ?? new Session { Id = Store.Count == 0 ? 1 : Store.Max(s => s.Id) + 1 };
save.CopyTo(target);
if (save.IsNew) Store.Add(target);
}
}
}The parts are SchedulerToday, SchedulerArrows, SchedulerPeriod, SchedulerCategories, SchedulerViews and SchedulerNew. A part you don't write keeps its place, and the Scheduler still decides whether it shows.
A calendar in a tile
To put the Scheduler's parts in a Tile's header, write them in its HeaderEnd. They act on the Scheduler in the tile, and it leaves them out of its toolbar, so the tile has one header row.
Static
Preview
Studio bookings
Code
@* A dashboard's calendar tile: the Scheduler's navigation and view menu sit in the tile's header,
so the tile has one header row. *@
<TileLayout Columns="1" aria-label="Studio">
<Tile Id="bookings" Title="Studio bookings" RowSpan="4" Flush>
<HeaderEnd>
<SchedulerToday />
<SchedulerArrows />
<SchedulerPeriod />
<SchedulerViews />
</HeaderEnd>
<ChildContent>
<Scheduler TItem="Booking" Items="Bookings" Start="b => b.Start" End="b => b.End" Title="b => b.Client"
View="SchedulerView.WorkWeek" ViewOptions="[SchedulerView.Day, SchedulerView.WorkWeek, SchedulerView.Month]" QueryPrefix="tile-" Label="Studio bookings" />
</ChildContent>
</Tile>
</TileLayout>
{
private sealed record Booking(string Client, DateTime Start, DateTime End);
private static readonly DateOnly Monday = WeekMonday();
private static DateOnly WeekMonday()
{
var today = DateOnly.FromDateTime(DateTime.Today);
return today.AddDays(-(((int)today.DayOfWeek + 6) % 7));
}
private static DateTime At(int day, int hour) => Monday.AddDays(day).ToDateTime(new TimeOnly(hour, 0));
private static readonly List<Booking> Bookings =
[
new("Northwind podcast", At(0, 10), At(0, 12)),
new("Lumen Records", At(1, 13), At(1, 17)),
new("Vox choir", At(2, 9), At(2, 11)),
new("Ad read: Contoso", At(3, 15), At(3, 16)),
new("Lumen Records", At(4, 10), At(4, 13)),
];
}Outside a tile or card, set a part's For to the Scheduler's id. The parts are links and menus, so they work with JavaScript off.
Agenda view
The agenda lists the coming days' appointments by day and leaves out empty days. AgendaDays sets how many it covers.
Static
Preview
-
- S. Novak
Sunday, November 29, 2026, 8:30 AM to 9:00 AM
Checkup
- T. Brooks
Sunday, November 29, 2026, 2:00 PM to 2:30 PM
Follow-up
-
- A. Haddad
Tuesday, December 1, 2026, 10:00 AM to 10:45 AM
New patient
- L. Moreau
Tuesday, December 1, 2026, 10:45 AM to 11:15 AM
Checkup
-
- J. Chen
Friday, December 4, 2026, 9:00 AM to 9:30 AM
Follow-up
-
- K. Ito
Sunday, December 6, 2026, 1:30 PM to 2:00 PM
Checkup
-
- P. Singh
Monday, December 7, 2026, 3:00 PM to 3:45 PM
New patient
-
- S. Novak
Thursday, December 10, 2026, 9:30 AM to 10:00 AM
Follow-up
Code
@* A clinic's coming two weeks of appointments as a list by day: the agenda leaves out empty days,
and each day links to its day view. *@
<Scheduler Items="_visits" Start="v => v.Start" End="v => v.End" Title="v => v.Patient" Category="v => v.Kind"
View="SchedulerView.Agenda" AgendaDays="14" ViewOptions="[SchedulerView.Day, SchedulerView.Week, SchedulerView.Agenda]" QueryPrefix="clinic-"
Categories="_kinds" />
{
private readonly SchedulerCategory[] _kinds =
[
new("checkup", "Checkup"), new("followup", "Follow-up"), new("new", "New patient"),
];
private record Visit(string Patient, DateTime Start, DateTime End, string Kind);
private static readonly DateOnly Today = DateOnly.FromDateTime(DateTime.Today);
private static Visit At(int day, int hour, int minute, int length, string patient, string kind)
{
var start = Today.AddDays(day).ToDateTime(new TimeOnly(hour, minute));
return new Visit(patient, start, start.AddMinutes(length), kind);
}
private readonly Visit[] _visits =
[
At(0, 9, 0, 30, "M. Alvarez", "checkup"), At(0, 9, 30, 30, "J. Chen", "followup"), At(0, 11, 0, 45, "R. Okafor", "new"),
At(1, 8, 30, 30, "S. Novak", "checkup"), At(1, 14, 0, 30, "T. Brooks", "followup"),
At(3, 10, 0, 45, "A. Haddad", "new"), At(3, 10, 45, 30, "L. Moreau", "checkup"),
At(6, 9, 0, 30, "J. Chen", "followup"), At(8, 13, 30, 30, "K. Ito", "checkup"),
At(9, 15, 0, 45, "P. Singh", "new"), At(12, 9, 30, 30, "S. Novak", "followup"),
];
}ViewOptions limits the view menu, here to the day, the week and the agenda. With one view there's no menu.
Details
Read-only (no OnSave or EditDialogForm), an appointment opens a card beside it: its whole time, Detail, category and Description. With a mouse, hovering any appointment shows its card too. With OnSave or an EditDialogForm, and ItemKey, appointments are links to a form in a dialog, the toolbar has a New button, and with script a click on empty time adds one there; with OnSave, a drag moves or resizes one. The form posts on a static page too, and OnSave saves it either way. An EditDialogForm puts a form of your own in the dialog instead, for what a use case needs.
With ItemHref, an appointment is a link to a page of its own instead: a meeting's page in a CRM, a booking's in a clinic. Hovering still shows its card.
Parts
Written inside Scheduler. The API page lists their parameters.
SchedulerToday: the Scheduler's Today link, placed in itsToolbarContent.SchedulerArrows: the Scheduler's previous and next arrows, placed in itsToolbarContent.SchedulerPeriod: the Scheduler's period ("November 2026"), which opens a month to go to any date, placed in itsToolbarContent.SchedulerCategories: the Scheduler's Categories menu, placed in itsToolbarContent; it shows when the Scheduler has categories.SchedulerViews: the Scheduler's view menu, placed in itsToolbarContent; it shows when there's more than one view.SchedulerNew: the Scheduler's New button, placed in itsToolbarContent; it shows with OnSave or an EditDialogForm.
Mode support
| Feature | Static | Interactive |
|---|---|---|
| Day, week, work week, month and agenda views | Yes | Yes |
| All-day and several-day appointments as bars across their days | Yes | Yes |
| Overlapping appointments side by side | Yes | Yes |
| The view and date in the page's address, so the toolbar is links and Back works | Yes | Yes |
| Adding, editing and deleting in a form, on a static page too | Yes | Yes |
| A click on empty time to add, and dragging to move or resize | Yes | Yes |
| Categories with colors, shown or hidden from a menu | Yes | Yes |
| A detail after each title, such as where; times in the boxes with ShowTime | Yes | Yes |
| A form of your own in the edit dialog | Yes | Yes |
| A card about each appointment when there's no form | Yes | Yes |
| Going to any date from the period's title | Yes | Yes |
| Only the days shown read: an IQueryable in the database, or an ItemsProvider | Yes | Yes |
| The view and date bindable on interactive pages | Yes | Yes |
| Templates for appointments and for each day's header | Yes | Yes |
| Your own toolbar items, and the toolbar's parts placed among them | Yes | Yes |
| A card on hover, as Outlook's | Yes | Yes |
| Google Calendar's keyboard shortcuts | Yes | Yes |
Static: static server-side rendering, with no circuit and no WebAssembly. Interactive: Server, WebAssembly or Auto.
Without JavaScript
Every page starts as plain HTML: before IzzyBlazor's script loads on a static page, while an interactive page prerenders, and with JavaScript off.
- A card on hover, as Outlook's: waits for the script
- Google Calendar's keyboard shortcuts: waits for the script
Accessibility
- It's a region named by
Label("Schedule"); the toolbar's links say where they go ("Previous week"), and the view menu is a radio group of links. - The period's title is a button, "November 2026, go to a date", that opens a month (a grid); its period is a polite live region. With no script, a date input and Go do the same.
- Categories is named by how many are hidden too: "Categories, 2 of 4 hidden".
- Each day's appointments come in time order, each with its category and whole time said: "Team meeting, Work, Monday, November 9, 2026, 9:30 AM to 10:30 AM". With a form each is a link to it, or to its own page with
ItemHref; read-only, a button that opens its card (a dialog, which takes focus). - Today is marked with aria-current, not only by its color.
- A hover's card is the mouse's alone: it stays while the pointer is on the appointment or the card, Escape closes it, and an editable one's card is hidden from screen readers (its link opens the form). A press opens a read-only one's card, which takes focus.
- While a provider loads, the view is aria-busy; a failure is an alert with Retry, which puts focus on the view when the appointments come.
- A
DayHeaderTemplate's content is read, after its date. - A month's day numbers are links to their day ("Show Monday, November 9, 2026").
- When the form closes or saves, focus goes back to its appointment, or to New.
- A category's edge is the palette's color, a fifth darker in light mode, so it's 3:1 against a box, a month's row and the page; a
Colorof your own needs that contrast itself. - The form is the way to add, move and resize from the keyboard and with no script; a drag does nothing it can't.
- The hour lines and the now line are hidden from screen readers.
- Delete asks first.
- The shortcuts are announced with aria-keyshortcuts;
Shortcuts="false"turns them off.
Keyboard navigation
While focus is in the Scheduler, outside its menus and form (Google Calendar's letters)
| Press this key | To do this |
|---|---|
| T | Go to today |
| N or P | Go to the next or the previous day, week or month |
| D or W or X or M or A | Show the day, the week, the work week, the month or the agenda |
| C | Add an appointment (with a form) |
Parameters
| Prop | Type | Default |
|---|---|---|
ItemsThe appointments. | IEnumerable<TItem>? | |
ItemsProviderLoads the appointments for the days shown yourself, in place of Items, from a web API or a cache: the request has the range, the view and the hidden categories. | Func<SchedulerRequest, ValueTask<IEnumerable<TItem>>>? | |
StartWhen each appointment starts, such as b => b.Start. | Expression<Func<TItem, DateTime>> | Required |
EndWhen each appointment ends, such as b => b.End. | Expression<Func<TItem, DateTime>> | Required |
TitleEach appointment's title, such as b => b.Subject. | Expression<Func<TItem, object?>> | Required |
DetailA line of detail with each appointment's title, such as b => b.Location: under it in the day and week views' taller boxes, after it in a short one, in the agenda and the card. | Func<TItem, string?>? | |
ToolbarContentThe page's own controls in the toolbar: ToolbarButton, ToolbarMenu and the like, at the start after the period, or at the end with Position. | RenderFragment? | |
ErrorContentShown in place of "Couldn't load the appointments." when loading fails, before the Retry button. | RenderFragment? | |
AppointmentTemplateDraws each appointment's text yourself, in place of its title and Detail: an icon for a recurring one, a status, an avatar. | RenderFragment<SchedulerAppointmentContext<TItem>>? | |
DayHeaderTemplateAdds to each day's header, after its date: the weather, who's away, a holiday. | RenderFragment<DateOnly>? | |
ShowTimeShows each appointment's times in its box in the day and week views. | bool | false |
AllDayWhether an appointment is all day, such as b => b.AllDay: a bar over its days, with no times. | Expression<Func<TItem, bool>>? | |
ColorEach appointment's color, a CSS color such as var(--ib-color-danger). | Func<TItem, string?>? | computed |
@bind-ViewThe view it opens on: SchedulerView.Week by default. | SchedulerView | SchedulerView.Week |
ViewOptionsThe views in its menu, in order. | IReadOnlyList<SchedulerView>? | |
@bind-DateThe day it opens on: today by default. | DateOnly? | |
QueryPrefixPrefix for its keys in the page's address, so several can share a page: QueryPrefix="rooms-" uses ?rooms-view=month&rooms-date=2026-11-09. | string | "" |
ShortcutsThe keyboard shortcuts (T, N, P, the views' letters and C) while focus is in it. | bool | true |
FirstDayOfWeekThe week's first day: the culture's by default. | DayOfWeek? | |
AgendaDaysHow many days the agenda lists. | int | 7 |
MonthLimitHow many appointments a month's day shows before "+N more". | int | 3 |
DayStartThe hour the day and week views open scrolled to (with script). | int | 8 |
HeightThe height of the day and week views' hours, which scroll inside it. | Length? | |
LabelIts name for screen readers. | string? | |
CategoryEach appointment's category, such as b => b.Kind, matched to a SchedulerCategory's Value: its color, the Categories menu that shows or hides it, and a choice in the edit form, which sets it. | Expression<Func<TItem, string?>>? | |
CategoriesThe kinds of appointment, in the order of the Categories menu: written out, or made from your own data, such as kinds.Select(k => new SchedulerCategory(k.Id, k.Name)). | IReadOnlyList<SchedulerCategory>? | |
ItemKeyEach appointment's key, such as b => b.Id.ToString(): with OnSave, it names the appointment a link opens in the form (?appointment=42). | Func<TItem, string>? | |
DescriptionEach appointment's description, such as b => b.Notes: a field in the form. | Expression<Func<TItem, string?>>? | |
EditDialogFormYour own form in the edit dialog, in place of the generated one, for what a use case needs: a patient and a reason, a room's attendees, what to show beside the fields. | RenderFragment<SchedulerEditFormContext<TItem>>? | |
ItemHrefMakes each appointment a link to a page of its own, such as b => $"bookings/{b.Id}", in place of its card or its form: the page shows it, and is where it's changed. | Func<TItem, string?>? | |
OnSaveSaves an appointment from the form, new or changed, on a static page too (the form posts): with it and ItemKey, appointments are links that open the form, and the toolbar has a New button. | EventCallback<SchedulerSave<TItem>> | |
OnDeleteDeletes an appointment: with it, the generated form has a Delete button. | EventCallback<SchedulerDelete<TItem>> |
Plus 17 item props and 4 common props.
Full APISee also
- Calendar: puts a month on the page itself, for picking a day without opening a field.
- DateRangeField: lets the user choose a range of whole days, both ends included.