Enum CalendarView
Specifies the different view levels available for calendar components.
Namespace: Syncfusion.Blazor.Calendars
Assembly: Syncfusion.Blazor.dll
Syntax
[JsonConverter(typeof(JsonStringEnumConverter))]
public enum CalendarView
Remarks
The CalendarView enum defines the hierarchical view levels that can be displayed in calendar components such as SfCalendar, SfDatePicker, and SfDateTimePicker.
Users can navigate between these views to select dates at different levels of granularity.
Examples
Setting the calendar view:
<SfCalendar TValue="DateTime" View="CalendarView.Year"></SfCalendar>
Fields
| Name | Description |
|---|---|
| Decade | Displays the calendar in decade view, showing a range of years within a decade. |
| Month | Displays the calendar in month view, showing individual days of a specific month. |
| Year | Displays the calendar in year view, showing all months of a specific year. |