alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    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.

    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved