# scheduler-agenda-view

> Scheduler renders appointments in an Agenda view with a custom month header date template.

**Framework:** maui  **Component:** scheduler  **Variant:** agenda-view

## 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-agenda-view.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-agenda-view/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.AgendaView"
             xmlns:system="clr-namespace:System;assembly=netstandard"
             xmlns:schedule="clr-namespace:Syncfusion.Maui.Scheduler;assembly=Syncfusion.Maui.Scheduler"
             x:Class="MAUI.Controls.Scheduler.AgendaView.AgendaViewPage"
             x:DataType="model:AgendaViewModel">

    <Grid>
        <Grid.Resources>
            <!-- Agenda month header template -->
            <DataTemplate x:Key="AgendaHeaderTemplate" x:DataType="system:DateTime">
                <Grid>
                    <Label HorizontalOptions="Start"
                           VerticalOptions="Start"
                           TextColor="Black"
                           FontSize="16"
                           Padding="16, 12, 0, 0"
                           Text="{Binding StringFormat='{0:MMMM yyyy}'}" />
                </Grid>
            </DataTemplate>
        </Grid.Resources>

        <schedule:SfScheduler x:Name="Scheduler"
                              View="Agenda"
                              ShowBusyIndicator="True"
                              AllowAppointmentDrag="False"
                              AppointmentsSource="{Binding Events}"
                              MinimumDateTime="{Binding MinDateTime}"
                              MaximumDateTime="{Binding MaxDateTime}"
                              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.AgendaView>
                <schedule:SchedulerAgendaView MonthHeaderTemplate="{StaticResource AgendaHeaderTemplate}" />
            </schedule:SfScheduler.AgendaView>
        </schedule:SfScheduler>
    </Grid>
</ContentPage>
```
