{
  "$schema": "https://ai.syncfusion.com/schema/registry-item.json",
  "name": "scheduler-customization",
  "framework": "maui",
  "type": "registry:component",
  "component": "Scheduler",
  "variant": "customization",
  "dependencies": [
    "Syncfusion.Maui.Scheduler"
  ],
  "description": "Scheduler customizes day, month, timeline and agenda appointment templates with view-based data.",
  "meta": {
    "essentialStudioRelease": "2026 Volume 3 (v35.1.37)",
    "license": "commercial-or-community",
    "licenseNote": "The Syncfusion package is licensed. The composition in this file is source you own and edit. See https://ai.syncfusion.com/licensing.md",
    "requiresLicenseKey": true,
    "requiresServerEndpoint": false,
    "platformIndex": "https://ai.syncfusion.com/maui/llms.txt",
    "skillPack": "syncfusion/maui-ui-components-skills",
    "docs": "https://ai.syncfusion.com/gallery/maui/scheduler-customization.md"
  },
  "files": [
    {
      "target": "src/components/scheduler-customization/Scheduler.xaml",
      "content": "<?xml version=\"1.0\" encoding=\"utf-8\" ?>\n<ContentPage xmlns=\"http://schemas.microsoft.com/dotnet/2021/maui\"\n             xmlns:x=\"http://schemas.microsoft.com/winfx/2009/xaml\"\n             x:Class=\"MAUI.Controls.Scheduler.Customization.CustomizationPage\"\n             xmlns:local=\"clr-namespace:MAUI.Controls.Scheduler.Customization\"\n             xmlns:common=\"clr-namespace:MAUI.Controls.Scheduler\"\n             xmlns:thickness=\"clr-namespace:Microsoft.Maui;assembly=Microsoft.Maui\"\n             xmlns:system=\"clr-namespace:System;assembly=netstandard\"\n             xmlns:schedule=\"clr-namespace:Syncfusion.Maui.Scheduler;assembly=Syncfusion.Maui.Scheduler\"\n             Title=\"Scheduler - Customization\">\n    <ContentPage.Resources>\n        <local:LocationToImageConverter x:Key=\"imageConverter\"/>\n    </ContentPage.Resources>\n    <ContentPage.Content>\n        <Grid>\n            <Grid.Margin>\n                <OnPlatform x:TypeArguments=\"thickness:Thickness\">\n                    <On Platform=\"MacCatalyst\" Value=\"-4,0,-4,0\"/>\n                    <On Platform=\"UWP\" Value=\"-4,0,-6,0\"/>\n                </OnPlatform>\n            </Grid.Margin>\n            <Grid.Resources>\n                <DataTemplate x:Key=\"dayAppointmentTemplate\" x:DataType=\"schedule:SchedulerAppointment\">\n                    <Grid>\n                        <Grid.RowDefinitions>\n                            <RowDefinition Height=\"0.1*\"/>\n                            <RowDefinition Height=\"0.8*\"/>\n                            <RowDefinition Height=\"0.1*\"/>\n                        </Grid.RowDefinitions>\n                        <Grid.BindingContext>\n                            <Binding Path=\"DataItem\"/>\n                        </Grid.BindingContext>\n                        <Grid Grid.Row=\"0\" x:DataType=\"schedule:SchedulerAppointment\" Background=\"{Binding Background}\" IsClippedToBounds=\"True\">\n                            <Grid x:DataType=\"schedule:SchedulerAppointment\">\n                                <Grid.BindingContext>\n                                    <Binding Path=\"DataItem\"/>\n                                </Grid.BindingContext>\n                                <Label x:DataType=\"common:Meeting\" Text=\"{Binding EventName}\" HorizontalOptions=\"{OnPlatform Default=Start, MacCatalyst=Center, WinUI=Center}\"\n                                    VerticalOptions=\"Center\" TextColor=\"White\" LineBreakMode=\"WordWrap\" MaxLines=\"1\" FontSize=\"12\" FontAttributes=\"Bold\" Margin=\"5,5,5,0\"/>\n                            </Grid>\n                        </Grid>\n                        <Grid Grid.Row=\"1\" x:DataType=\"schedule:SchedulerAppointment\" Background=\"{Binding Background}\" Opacity=\"0.8\" IsClippedToBounds=\"True\" >\n                            <Grid x:DataType=\"schedule:SchedulerAppointment\">\n                                <Grid.BindingContext>\n                                    <Binding Path=\"DataItem\"/>\n                                </Grid.BindingContext>\n                                <Grid.RowDefinitions>\n                                    <RowDefinition Height=\"0.3*\"/>\n                                    <RowDefinition Height=\"0.7*\"/>\n                                </Grid.RowDefinitions>\n                                <Image x:DataType=\"common:Meeting\" Aspect=\"AspectFit\" VerticalOptions=\"Center\" Margin=\"0, 10, 0, 10\" HorizontalOptions=\"Center\" HeightRequest=\"{OnPlatform Android= 30, iOS=30, MacCatalyst=50, WinUI=50}\" WidthRequest=\"{OnPlatform Android= 30, iOS=30, MacCatalyst=50,  WinUI=50}\" Source=\"{Binding Location,Converter={StaticResource imageConverter}}\"/>\n                                <Label x:DataType=\"common:Meeting\" Text=\"{Binding Notes}\" VerticalOptions=\"Start\" Grid.Row=\"1\" TextColor=\"White\" LineBreakMode=\"WordWrap\" Margin=\"3,3,3,0\" FontSize=\"{OnPlatform Android= 10, iOS=10, MacCatalyst=12, WinUI=12}\" />\n                            </Grid>\n                        </Grid>\n                        <BoxView Grid.Row=\"2\" Background=\"{Binding Background}\"/>\n                    </Grid>\n                </DataTemplate>\n\n                <DataTemplate x:Key=\"monthAppointmentTemplate\" x:DataType=\"schedule:SchedulerAppointment\">\n                    <Grid Margin=\"2,1\">\n                        <Grid.ColumnDefinitions>\n                            <ColumnDefinition Width=\"0.1*\"/>\n                            <ColumnDefinition Width=\"0.9*\"/>\n                        </Grid.ColumnDefinitions>\n                        <Grid.BindingContext>\n                            <Binding Path=\"DataItem\"/>\n                        </Grid.BindingContext>\n                        <Border StrokeThickness=\"1\" Stroke=\"{Binding Background}\" Background=\"{Binding Background}\" Padding=\"0\" Margin=\"0\" Opacity=\"0.8\">\n                            <Border.StrokeShape>\n                                <RoundRectangle CornerRadius=\"5, 0, 5, 0\" />\n                            </Border.StrokeShape>\n                        </Border>\n                        <Border Grid.Column=\"1\" Background=\"{Binding Background}\" Padding=\"0\" Margin=\"-1, 0, 0, 0\" StrokeThickness=\"1\" Stroke=\"{Binding Background}\">\n                            <Border.StrokeShape>\n                                <RoundRectangle>\n                                    <RoundRectangle.CornerRadius>\n                                        <OnPlatform x:TypeArguments=\"thickness:CornerRadius\" Default=\"0, 5, 0, 5\">\n                                            <On Platform=\"UWP\" Value=\"0\"/>\n                                        </OnPlatform>\n                                    </RoundRectangle.CornerRadius>\n                                </RoundRectangle>\n                            </Border.StrokeShape>\n                            <Grid x:DataType=\"schedule:SchedulerAppointment\">\n                                <Grid.BindingContext>\n                                    <Binding Path=\"DataItem\"/>\n                                </Grid.BindingContext>\n                                <Label Padding=\"3, 0, 0, 0\" HorizontalTextAlignment=\"Start\" x:DataType=\"common:Meeting\" Text=\"{Binding EventName}\" FontSize=\"10\" FontAttributes=\"Bold\" MaxLines=\"1\" TextColor=\"White\" LineBreakMode=\"WordWrap\" HorizontalOptions=\"Start\" VerticalOptions=\"Center\" />\n                            </Grid>\n                        </Border>\n                    </Grid>\n                </DataTemplate>\n\n                <DataTemplate x:Key=\"timelineAppointmentTemplate\" x:DataType=\"schedule:SchedulerAppointment\">\n                    <Grid Margin=\"2,1\">\n                        <Grid.ColumnDefinitions>\n                            <ColumnDefinition Width=\"0.1*\"/>\n                            <ColumnDefinition Width=\"0.9*\"/>\n                        </Grid.ColumnDefinitions>\n                        <Grid.BindingContext>\n                            <Binding Path=\"DataItem\"/>\n                        </Grid.BindingContext>\n                        <Grid Background=\"{Binding Background}\" Padding=\"0\" Margin=\"0\" Opacity=\"0.8\">\n                        </Grid>\n                        <Grid Grid.Column=\"1\" Background=\"{Binding Background}\" Padding=\"0\" Margin=\"-1, 0, 0, 0\">\n                            <Grid>\n                                <Grid.BindingContext>\n                                    <Binding Path=\"DataItem\"/>\n                                </Grid.BindingContext>\n                                <Label HorizontalTextAlignment=\"Center\" Text=\"{Binding EventName}\" x:DataType=\"common:Meeting\" FontSize=\"10\" FontAttributes=\"Bold\"  TextColor=\"White\" LineBreakMode=\"WordWrap\" HorizontalOptions=\"Center\"  VerticalOptions=\"Center\" />\n                            </Grid>\n                        </Grid>\n                    </Grid>\n                </DataTemplate>\n\n                <DataTemplate x:Key=\"agendaAppointmentTemplate\" x:DataType=\"schedule:SchedulerAppointment\">\n                    <Grid Margin=\"2,1\" HeightRequest=\"50\">\n                        <Grid.ColumnDefinitions>\n                            <ColumnDefinition Width=\"0.03*\" />\n                            <ColumnDefinition Width=\"0.97*\" />\n                        </Grid.ColumnDefinitions>\n                        <Grid.BindingContext>\n                            <Binding Path=\"DataItem\"/>\n                        </Grid.BindingContext>\n                        <Border StrokeThickness=\"1\"\n                                Stroke=\"{Binding Background}\"\n                                Background=\"{Binding Background}\"\n                                Padding=\"0\"\n                                Margin=\"0\"\n                                Opacity=\"0.8\">\n                            <Border.StrokeShape>\n                                <RoundRectangle CornerRadius=\"5, 0, 5, 0\" />\n                            </Border.StrokeShape>\n                        </Border>\n                        <Border Grid.Column=\"1\"\n                                Background=\"{Binding Background}\"\n                                Padding=\"0\"\n                                Margin=\"-1, 0, 0, 0\"\n                                StrokeThickness=\"1\"\n                                Stroke=\"{Binding Background}\">\n                            <Border.StrokeShape>\n                                <RoundRectangle>\n                                    <RoundRectangle.CornerRadius>\n                                        <OnPlatform x:TypeArguments=\"thickness:CornerRadius\"\n                                                    Default=\"0, 5, 0, 5\">\n                                            <On Platform=\"UWP\"\n                                                Value=\"0\" />\n                                        </OnPlatform>\n                                    </RoundRectangle.CornerRadius>\n                                </RoundRectangle>\n                            </Border.StrokeShape>\n                            <StackLayout Padding=\"5,10,10,0\"\n                                         Orientation=\"Vertical\">\n                                <StackLayout Orientation=\"Horizontal\">\n                                    <StackLayout.BindingContext>\n                                        <Binding Path=\"DataItem\"/>\n                                    </StackLayout.BindingContext>\n                                    <Label x:DataType=\"common:Meeting\" Text=\"{Binding EventName}\"\n                                           FontSize=\"{OnIdiom Desktop = 12, Phone = 10, Default = 12}\"\n                                           FontAttributes=\"Bold\"\n                                           TextColor=\"White\" />\n                                    <Label x:DataType=\"common:Meeting\" Text=\"{Binding Location}\"\n                                           FontSize=\"{OnIdiom Desktop = 12, Phone = 10, Default = 12}\"\n                                           FontAttributes=\"Bold\"\n                                           TextColor=\"White\" />\n                                </StackLayout>\n\n                                <StackLayout Orientation=\"Horizontal\">\n                                    <StackLayout.BindingContext>\n                                        <Binding Path=\"DataItem\"/>\n                                    </StackLayout.BindingContext>\n                                    <Label x:DataType=\"common:Meeting\" Text=\"{Binding From, StringFormat='{}{0:hh:mm tt}'}\"\n                                           FontSize=\"{OnIdiom Desktop = 12, Phone = 10, Default = 12}\"\n                                           TextColor=\"White\" />\n                                    <Label Text=\" - \"\n                                           TextColor=\"White\"\n                                           FontSize=\"{OnIdiom Desktop = 12, Phone = 10, Default = 12}\"\n                                           VerticalOptions=\"Center\"\n                                           HorizontalOptions=\"Center\" />\n                                    <Label x:DataType=\"common:Meeting\" Text=\"{Binding To, StringFormat='{}{0:hh:mm tt}'}\"\n                                           FontSize=\"{OnIdiom Desktop = 12, Phone = 10, Default = 12}\"\n                                           TextColor=\"White\" />\n                                </StackLayout>\n                            </StackLayout>\n                        </Border>\n                    </Grid>\n                </DataTemplate>\n\n                <local:MonthToImageConverter x:Key=\"MonthToImageConverter\" />\n                <DataTemplate x:Key=\"AgendaHeaderTemplate\" x:DataType=\"system:DateTime\">\n                    <Grid>\n                        <Image Aspect=\"Fill\"\n                               Source=\"{Binding Converter={StaticResource MonthToImageConverter}}\" />\n                        <Label x:Name=\"label\"\n                               HorizontalOptions=\"Start\"\n                               VerticalOptions=\"Start\"\n                               TextColor=\"Black\"\n                               FontSize=\"16\"\n                               Padding=\"55, 20, 0, 0\"\n                               Text=\"{Binding StringFormat='{0:MMMM yyyy}'}\" />\n                    </Grid>\n                </DataTemplate>\n            </Grid.Resources>\n            <schedule:SfScheduler x:Name=\"Scheduler\" ShowBusyIndicator=\"True\" AllowAppointmentDrag=\"False\" x:DataType=\"local:SchedulerCustomizationViewModel\"\n                                DisplayDate=\"{Binding DisplayDate}\"\n                                MinimumDateTime=\"{Binding MinDateTime}\"\n                                MaximumDateTime=\"{Binding MaxDateTime}\"\n                                AllowedViews=\"Week,WorkWeek,Month,TimelineDay,TimelineWeek,TimelineWorkWeek,TimelineMonth,Agenda\"\n                                View=\"Week\"\n                                SelectedAppointmentBackground=\"Transparent\">\n                <schedule:SfScheduler.CellSelectionView>\n                    <schedule:SchedulerCellSelectionView Background=\"#F5F5F5\" Stroke=\"Transparent\"/>\n                </schedule:SfScheduler.CellSelectionView>\n                <schedule:SfScheduler.AppointmentMapping>\n                    <schedule:SchedulerAppointmentMapping\n                        Subject=\"EventName\"\n                        StartTime=\"From\"\n                        EndTime=\"To\"\n                        Background=\"Background\"\n                        IsAllDay=\"IsAllDay\"\n                        StartTimeZone=\"StartTimeZone\"\n                        EndTimeZone=\"EndTimeZone\"\n                        RecurrenceExceptionDates=\"RecurrenceExceptions\"\n                        RecurrenceRule=\"RecurrenceRule\"\n                        RecurrenceId=\"RecurrenceId\"/>\n                </schedule:SfScheduler.AppointmentMapping>\n                <schedule:SfScheduler.MonthView>\n                    <schedule:SchedulerMonthView AppointmentTemplate=\"{StaticResource monthAppointmentTemplate}\"\n                                AppointmentDisplayMode=\"Text\" >\n                        <schedule:SchedulerMonthView.CellStyle>\n                            <schedule:SchedulerMonthCellStyle>\n                                <schedule:SchedulerMonthCellStyle.TextStyle>\n                                    <schedule:SchedulerTextStyle TextColor=\"#242424\" FontSize=\"{OnPlatform Default=14, WinUI=12}\"/>\n                                </schedule:SchedulerMonthCellStyle.TextStyle>\n                                <schedule:SchedulerMonthCellStyle.LeadingMonthTextStyle>\n                                    <schedule:SchedulerTextStyle TextColor=\"LightGray\" FontSize=\"{OnPlatform Default=14, WinUI=12}\"/>\n                                </schedule:SchedulerMonthCellStyle.LeadingMonthTextStyle>\n                                <schedule:SchedulerMonthCellStyle.TrailingMonthTextStyle>\n                                    <schedule:SchedulerTextStyle TextColor=\"LightGray\" FontSize=\"{OnPlatform Default=14, WinUI=12}\"/>\n                                </schedule:SchedulerMonthCellStyle.TrailingMonthTextStyle>\n                            </schedule:SchedulerMonthCellStyle>\n                        </schedule:SchedulerMonthView.CellStyle>\n                    </schedule:SchedulerMonthView>\n                </schedule:SfScheduler.MonthView>\n                <schedule:SfScheduler.TimelineView>\n                    <schedule:SchedulerTimelineView StartHour=\"9\" EndHour=\"18\"\n                                AppointmentTemplate=\"{StaticResource timelineAppointmentTemplate}\"/>\n                </schedule:SfScheduler.TimelineView>\n                <schedule:SfScheduler.DaysView>\n                    <schedule:SchedulerDaysView\n                                 AppointmentTemplate=\"{StaticResource dayAppointmentTemplate}\"/>\n                </schedule:SfScheduler.DaysView>\n                <schedule:SfScheduler.AgendaView>\n                    <schedule:SchedulerAgendaView MonthHeaderTemplate=\"{StaticResource AgendaHeaderTemplate}\"\n                                                  AppointmentTemplate=\"{StaticResource agendaAppointmentTemplate}\" />\n                </schedule:SfScheduler.AgendaView>\n                <schedule:SfScheduler.Behaviors>\n                    <local:SchedulerCustomizationBehavior/>\n                </schedule:SfScheduler.Behaviors>\n                <schedule:SfScheduler.BindingContext>\n                    <local:SchedulerCustomizationViewModel/>\n                </schedule:SfScheduler.BindingContext>\n            </schedule:SfScheduler>\n        </Grid>\n    </ContentPage.Content>\n</ContentPage>\n"
    },
    {
      "target": "src/components/scheduler-customization/Scheduler.xaml.cs",
      "content": "namespace MAUI.Controls.Scheduler.Customization\n{\n    public partial class CustomizationPage : ContentPage\n    {\n        public CustomizationPage()\n        {\n            InitializeComponent();\n            BindingContext = new SchedulerCustomizationViewModel();\n        }\n    }\n}\n"
    }
  ]
}