# scheduler-calendar-type

> Scheduler demonstrates the Gregorian calendar type with day, week, month, and timeline views.

**Framework:** maui  **Component:** scheduler  **Variant:** calendar-type

## Get this item

**If you are an agent, fetch the JSON.** Source is inlined, so one request is enough and no tooling is required:

```
GET https://ai.syncfusion.com/r/maui/scheduler-calendar-type.json
```

**Install Package(s)**

```bash
dotnet add package Syncfusion.Maui.Scheduler
```

**Notes**

- Syncfusion release: 2026 Volume 2 (v34.1.29)
- The Syncfusion package is licensed. The composition in this file is source you own and edit. See https://ai.syncfusion.com/licensing.md

## Source files

### src/components/scheduler-calendar-type/Scheduler.xaml

```xaml
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:model="clr-namespace:MAUI.Controls.Scheduler.CalendarType"
             xmlns:schedule="clr-namespace:Syncfusion.Maui.Scheduler;assembly=Syncfusion.Maui.Scheduler"
             x:Class="MAUI.Controls.Scheduler.CalendarType.CalendarTypePage"
             x:DataType="model:CalendarTypeViewModel">

    <schedule:SfScheduler x:Name="Scheduler"
                          CalendarType="Gregorian"
                          View="Week"
                          AllowAppointmentDrag="False"
                          AllowedViews="Day,Week,WorkWeek,Month,TimelineDay,TimelineMonth,TimelineWeek,TimelineWorkWeek,Agenda"
                          AppointmentsSource="{Binding Events}"
                          DisplayDate="{Binding DisplayDate}">

        <schedule:SfScheduler.AppointmentMapping>
            <schedule:SchedulerAppointmentMapping
                Subject="EventName"
                StartTime="From"
                EndTime="To"
                Background="Background"
                IsAllDay="IsAllDay"
                StartTimeZone="StartTimeZone"
                EndTimeZone="EndTimeZone"
                RecurrenceExceptionDates="RecurrenceExceptions"
                RecurrenceRule="RecurrenceRule"
                RecurrenceId="RecurrenceId" />
        </schedule:SfScheduler.AppointmentMapping>

        <schedule:SfScheduler.TimelineView>
            <schedule:SchedulerTimelineView StartHour="8" EndHour="20" />
        </schedule:SfScheduler.TimelineView>
    </schedule:SfScheduler>
</ContentPage>
```
