Skip to content

Extras

FullCalendar

Bit.BlazorUI.ExtrasSchedulerEventCalendarPlanner

BitFullCalendar is a full-featured scheduling calendar: day, week, month, year, agenda and resource timeline views; recurring and all-day events; built-in create, edit and delete; drag-and-drop, resizing and range selection; business hours and booking rules; templates, keyboard navigation, theming, and culture-aware, right-to-left-ready rendering.

Rules & data

Date bounds, booking rules and background events, read-only calendars and permissions, the change and refusal callbacks, binding, and loading events per visible range.

Date bounds

MinDate and MaxDate fence in the reachable dates: prev/next disable at the edges, days outside are dimmed and inert, and a drag or save that would land outside is refused.
Both are null by default (unbounded), and either can be set alone. Only their date part counts, and both days are inside the window. A bound Date, a DefaultDate or a GoToDate outside the window is pulled to its nearest edge, and a corrected bound value is written back through the binding; the Today button lands on the nearest edge when today is outside. A window whose MinDate is after its MaxDate is ignored altogether. A refused change is reported to OnRefused as OutOfRange (see Booking rules). Here the window runs from ten days ago to twenty days ahead.

November 2026
S
M
T
W
T
F
S
Quarterly Review
10:00
Product Demo
14:00
Team Standup
09:00
Design Review
10:00
1:1 with Manager
10:30
Tech Conference
Client Onboarding
10:00
Architecture Review
14:00
Company Retreat

Allowed range: 2026-11-18 to 2026-12-18

Booking rules

AllowEventOverlap off prevents double booking; BusinessDays/BusinessStartHour/BusinessEndHour describe the working week, HighlightBusinessHours shades the rest and RestrictToBusinessHours enforces it. IsReadOnly freezes one event (the "Payroll run"). IsBackground draws an event as a band behind the grid (the offsite) and IsBlocking keeps everything out of it, overlaps allowed or not (the hatched daily lunch break). A refused drag or resize shows a notice, a refused save says why in the dialog, and every refusal raises OnRefused.
The rules and their defaults, all in Settings except the event flags:
  • AllowEventOverlap (true) - when off, two events on the same resource may not share any time; one ending exactly as the next starts is not an overlap. Refused as Overlap.
  • BusinessDays (null = Monday to Friday; an empty list = no business day), BusinessStartHour (9) and BusinessEndHour (17, exclusive). HighlightBusinessHours (false, also a switch in the settings gear) only shades the off-hours, and RestrictToBusinessHours (false) only enforces them - each works without the other. Refused as OutsideBusinessHours.
  • IsReadOnly on an event locks that event alone; its details still open. Refused as ReadOnly.
  • IsBackground draws a band that cannot be clicked, focused or dragged, is left out of the agenda, the year view and the "+N more" count, and never counts as an overlap; a month day it covers whole is tinted. With a Resource it sits on that row only.
  • IsBlocking refuses any add, move or resize into its range as Blocked, even while overlaps are allowed - on its resource, or on every resource when it has none. It need not be a background event.
OnRefused receives a BitFullCalendarChangeRefusal; the notice texts are Strings.EventOverlapMessage, OutsideBusinessHoursMessage, BlockedMessage and OutOfRangeMessage. A change the app cancels in OnChanging is not reported here.


Nov 22, 2026 - Nov 28, 2026
Weekly view is not recommended on smaller devices. Please switch to a desktop device or use the daily view instead.
Sun 22
Mon 23
Tue 24
Wed 25
Thu 26
Fri 27
Sat 28
07:00
08:00
09:00
10:00
11:00
12:00
13:00
14:00
15:00
16:00
17:00
18:00
19:00
20:00
Payroll run
09:00 - 10:00
Design Review
11:00 - 12:00
Retro
15:00 - 16:00
15:47

Last refusal: -

Read-only & permissions

ReadOnly removes the add affordances, dragging, resizing and the edit/delete actions; navigation, filtering and reading details keep working. Disabled takes the same path. To take away only part of it, turn off AllowAdd, AllowEdit, AllowDelete, AllowDrag or AllowResize in Settings - dragging and resizing are edits too, keyboard moves included.
All five permissions default to true, and ReadOnly (false) overrides them all; the settings gear keeps working either way, since it changes preferences, not events.
  • AllowAdd covers the Add Event button, the add affordance of every day and slot, and range selection.
  • AllowEdit covers the Edit action of the details dialog, and with it dragging and resizing: AllowDrag (Alt+Arrow on a focused event) and AllowResize (Shift+Arrow) only take effect while AllowEdit is on.
  • AllowDelete covers the Delete action of the details dialog.
To lock single events instead, set their IsReadOnly (see Booking rules). A change that reaches the calendar while it is not allowed is refused and reported to OnRefused as ReadOnly.


Nov 22, 2026 - Nov 28, 2026
Weekly view is not recommended on smaller devices. Please switch to a desktop device or use the daily view instead.
Sun 22
Mon 23
Tue 24
Wed 25
Thu 26
Fri 27
Sat 28
01:00
02:00
03:00
04:00
05:00
06:00
07:00
08:00
09:00
10:00
11:00
12:00
13:00
14:00
15:00
16:00
17:00
18:00
19:00
20:00
21:00
22:00
23:00
Quarterly Review
10:00 - 12:00
Product Demo
14:00 - 15:00
Team Standup
09:00 - 09:45
Design Review
10:00 - 11:00
Lunch with Client
12:00 - 13:30
Sprint Planning
14:00 - 15:30
Code Review
16:00 - 17:00
1:1 with Manager
10:30 - 11:15
15:47

OnChange & OnChanging

OnChange reports every add, edit and delete with the new and previous snapshots, the Kind and the Source (dialog, drag or resize) - apply it to your own store so it survives the next render. OnChanging comes first and can Cancel a change for rules only your app knows: the event goes back and the dialog stays open. Here, nothing may start in the past.
Both receive the same four facts:
  • Kind - Add, Edit or Delete.
  • Source - Dialog (the add/edit or details dialog), Drag (a pointer drag or an Alt+Arrow move) or Resize (an edge drag or Shift+Arrow).
  • Event - the event as the change leaves it, or the one removed for a Delete. An edit hands a new snapshot, so find the stored event by Id and replace it, as this sample does.
  • OldEvent - the event before an Edit or Delete; null for an Add.
OnChanging runs after the built-in rules (date window, business hours, overlaps, blocking events) have let the change through, and is awaited, so it can ask a server. It is handed copies: it can refuse a change, not alter it. A change it cancels is not reported to OnRefused. Changing one occurrence of a recurring series raises one notification for each event it touches - the master's edit and the new one-off, for example. Changes made by the app itself (to Events, or in an OnAddClick handler) raise neither callback.


November 2026
S
M
T
W
T
F
S
Quarterly Review
10:00
Product Demo
14:00
Team Standup
09:00
Design Review
10:00
1:1 with Manager
10:30
Tech Conference
Client Onboarding
10:00
Architecture Review
14:00
Company Retreat

Last change: -

Binding

View, Mode and Date are two-way bound; OnViewChange, OnModeChange and OnDateChange report user-driven changes. DefaultView, DefaultMode and DefaultDate set the start without taking control.
View defaults to Month, Mode to Event and Date to today. Bound with @bind-, each follows the toolbar, the year view and the links, and setting the field moves the calendar, as the controls above do. The calendar corrects what it cannot show and writes the correction back: a view Views excludes, Timeline mode with no resources (back to Event), Year or Agenda in Timeline mode (Week), a date outside MinDate/MaxDate.
OnViewChange and OnModeChange are not raised for a value the app set, only for the user's own switches. OnDateChange reports the visible range rather than the anchor date - its Start and End (both inclusive) and the View - and fires whenever that range moves, whoever moved it. The Default* parameters are read once, on the first render, and ignored while the bound one is set.

View
Mode

Nov 22, 2026 - Nov 28, 2026
Weekly view is not recommended on smaller devices. Please switch to a desktop device or use the daily view instead.
Sun 22
Mon 23
Tue 24
Wed 25
Thu 26
Fri 27
Sat 28
01:00
02:00
03:00
04:00
05:00
06:00
07:00
08:00
09:00
10:00
11:00
12:00
13:00
14:00
15:00
16:00
17:00
18:00
19:00
20:00
21:00
22:00
23:00
Standup
09:00 - 09:30
Design Review
10:00 - 11:00
Incident Bridge
13:00 - 15:00
Workshop
14:00 - 16:00
15:47

View: Week | Mode: Event | Date: 2026-11-28
Last calendar event: Range 2026-11-22 → 2026-11-28 (Week)

Loading

OnDateChange fires on the first render and whenever the visible range moves - fetch that range there, and set Loading meanwhile: a progress bar runs across the top and the body is marked busy for screen readers, without blocking the calendar.
The range is every day the view shows, both ends inclusive dates: the day, the week as shown (WeekDayCount included), the month grid - with the days it borrows from the neighbouring months, which show their events too, unless ShowNonCurrentDates leaves them blank and the range is the month alone - the month in the culture's calendar for the agenda, or the year. Events that began before Start and still run into it are in the range too, which a query on the start date alone misses. Ranges can arrive faster than a slow API answers: the sample numbers its requests and applies only the latest, which also ends the loading state.
A prerendered or statically rendered calendar raises the first range while it initializes and awaits the handler, so the events fetched there are in the HTML sent before the page is interactive; a handler that needs the browser fails quietly there, and the interactive render raises the range again. Replace Events with the new list each time (a new list, or the same one changed) and the calendar picks it up on that render.

November 2026
S
M
T
W
T
F
S
Client call
09:00
Design sync
10:00
Hiring panel
11:00
Ops review
12:00
Customer demo
13:00
Client call
09:00
Design sync
10:00
Hiring panel
11:00
Ops review
12:00
Customer demo
13:00
Client call
09:00
Design sync
10:00
Hiring panel
11:00
Ops review
12:00
Customer demo
13:00
Client call
09:00
Design sync
10:00
Hiring panel
11:00
Ops review
12:00
Customer demo
13:00
Client call
09:00
Design sync
10:00
Hiring panel
11:00
Ops review
12:00
Customer demo
13:00

Loaded: 2026-11-01 → 2026-12-05 (25 events)

Feedback

Found a mistake, a gap, or something that could be clearer? Every page and every component is one click from its source.