alexa
menu

Blazor

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

    Show / Hide Table of Contents

    Enum CalendarType

    Specifies the calendar system to be used in calendar components.

    Namespace: Syncfusion.Blazor.Calendars
    Assembly: Syncfusion.Blazor.dll
    Syntax
    [JsonConverter(typeof(JsonStringEnumConverter))]
    public enum CalendarType
    Remarks

    The CalendarType enum allows selecting between different calendar systems such as Gregorian and Islamic (Hijri).
    It determines how dates are calculated, displayed, and handled in components such as SfCalendar, SfDatePicker, and SfDateTimePicker. The calendar type affects date calculations, month names, and cultural formatting.

    Examples

    Setting the calendar type to Islamic:

    <SfCalendar TValue="DateTime" CalendarMode="CalendarType.Islamic"></SfCalendar>

    Fields

    Name Description
    Gregorian

    Represents the Gregorian calendar system, which is the internationally accepted civil calendar.

    Islamic

    Represents the Islamic (Hijri) calendar system used in Islamic cultures.

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