Blazor Calendar Example - Date Range
April 2026
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
| 29 | 30 | 31 | 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 | 1 | 2 |
| 3 | 4 | 5 | 6 | 7 | 8 | 9 |
This sample demonstrates date range selection in the Calendar component, where a specific date range from the 5th to 27th of a month has been set. All other dates are out of range and restricted from selection.
The Date Range example explains how to enable date selection within a specific range in the Calendar using the Min and Max properties.
In this example, the date selection range is restricted between the 5th and 27th of the month, providing a practical approach to limiting selectable dates.
See also: