{
  "$schema": "https://ai.syncfusion.com/schema/registry-item.json",
  "name": "scheduler-appointment",
  "framework": "wpf",
  "type": "registry:component",
  "component": "Scheduler",
  "variant": "appointment",
  "dependencies": [
    "Syncfusion.SfScheduler.WPF"
  ],
  "description": "SfSchedule with appointment customization, DataTemplates for events, and appointment binding.",
  "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/wpf/llms.txt",
    "skillPack": "syncfusion/wpf-ui-components-skills",
    "docs": "https://ai.syncfusion.com/gallery/wpf/scheduler-appointment.md"
  },
  "files": [
    {
      "target": "src/components/scheduler-appointment/Scheduler.xaml",
      "content": "<UserControl x:Class=\"syncfusion.schedulerdemos.wpf.Appointment.Scheduler\"\n        xmlns=\"http://schemas.microsoft.com/winfx/2006/xaml/presentation\"\n        xmlns:x=\"http://schemas.microsoft.com/winfx/2006/xaml\"\n        xmlns:interactivity=\"http://schemas.microsoft.com/xaml/behaviors\"\n        xmlns:syncfusion=\"http://schemas.syncfusion.com/wpf\"\n        xmlns:local=\"clr-namespace:syncfusion.schedulerdemos.wpf\" Unloaded=\"OnSampleUnloaded\">\n\n    <UserControl.DataContext>\n        <local:AppointmentViewModel/>\n    </UserControl.DataContext>\n\n    <UserControl.Resources>\n        <local:ImageTemplateSelector x:Key=\"imageTemplateSelector\"/>\n\n        <DataTemplate x:Key=\"appointmentTemplate\">\n            <Grid>\n                <Grid.RowDefinitions>\n                    <RowDefinition Height=\"0.2*\"/>\n                    <RowDefinition Height=\"0.7*\"/>\n                    <RowDefinition Height=\"0.1*\"/>\n                </Grid.RowDefinitions>\n                <StackPanel Grid.Row=\"0\" Orientation=\"Vertical\" Background=\"{Binding Data.Color}\" >\n                    <TextBlock Text=\"{Binding Data.EventName}\" TextTrimming=\"CharacterEllipsis\" FontSize=\"12\" FontWeight=\"Medium\" Margin=\"5,10,0,0\"/>\n                    <TextBlock Text=\"{Binding Data.TimeValue}\" FontSize=\"8\" Margin=\"5,5,0,0\"/>\n                </StackPanel>\n                <StackPanel Grid.Row=\"1\" Orientation=\"Vertical\" Background=\"{Binding Data.Color}\" Opacity=\"0.8\" >\n                    <Label Height=\"60\" Margin=\"0,10,0,0\" ContentTemplate=\"{Binding Data.EventName, Converter={StaticResource imageTemplateSelector}}\" HorizontalContentAlignment=\"Center\"/>\n                    <TextBlock Text=\"{Binding Data.Notes}\" TextWrapping=\"WrapWithOverflow\" Margin=\"3,10,0,0\" FontSize=\"10\" />\n                </StackPanel>\n                <Border Grid.Row=\"2\"  Background=\"{Binding Data.Color}\"/>\n            </Grid>\n        </DataTemplate>\n\n        <DataTemplate x:Key=\"monthAppointmentTemplate\">\n            <Grid>\n                <Grid.ColumnDefinitions>\n                    <ColumnDefinition Width=\"12\"/>\n                    <ColumnDefinition Width=\"*\"/>\n                </Grid.ColumnDefinitions>\n                <Border Grid.Column=\"0\" Background=\"{Binding Data.Color}\" Height=\"8\" Width=\"8\" CornerRadius=\"4\" Margin=\"3,0,0,0\"/>\n                <TextBlock Grid.Column=\"1\" Foreground=\"Black\" FontSize=\"10\" VerticalAlignment=\"Center\" Margin=\"3,0,0,0\" TextTrimming=\"CharacterEllipsis\">\n                    <TextBlock.Text>\n                        <MultiBinding StringFormat=\"{}{0} {1}\">\n                            <Binding Path=\"Data.TimeValue\" />\n                            <Binding Path=\"Data.EventName\" />\n                        </MultiBinding>\n                    </TextBlock.Text>\n                </TextBlock>\n            </Grid>\n        </DataTemplate>\n\n        <DataTemplate x:Key=\"timelineAppointmentTemplate\">\n            <Grid>\n                <Grid.ColumnDefinitions>\n                    <ColumnDefinition Width=\"0.05*\"/>\n                    <ColumnDefinition Width=\"0.95*\"/>\n                </Grid.ColumnDefinitions>\n                <Border Grid.Column=\"0\" Background=\"{Binding Data.Color}\" />\n                <Border Grid.Column=\"1\" Background=\"{Binding Data.Color}\" Opacity=\"0.8\">\n                    <TextBlock TextAlignment=\"Center\" Text=\"{Binding Data.EventName}\" FontSize=\"10\" FontWeight=\"Bold\" HorizontalAlignment=\"Center\"  VerticalAlignment=\"Center\" />\n                </Border>\n            </Grid>\n        </DataTemplate>\n    </UserControl.Resources>\n\n    <syncfusion:SfScheduler x:Name=\"Schedule\" ShowBusyIndicator=\"True\" BorderThickness=\"0\"\n                            ViewType=\"Week\"\n                            DisplayDate=\"{Binding DisplayDate}\" AppointmentEditFlag=\"None\"\n                            AllowedViewTypes=\"Month,Week,WorkWeek\">\n\n        <syncfusion:SfScheduler.MonthViewSettings>\n            <syncfusion:MonthViewSettings AppointmentDisplayMode=\"Appointment\"\n                                          AppointmentDisplayCount=\"2\"\n                                          AppointmentTemplate=\"{StaticResource monthAppointmentTemplate}\">\n            </syncfusion:MonthViewSettings>\n        </syncfusion:SfScheduler.MonthViewSettings>\n\n        <syncfusion:SfScheduler.DaysViewSettings>\n            <syncfusion:DaysViewSettings AppointmentTemplate=\"{StaticResource appointmentTemplate}\"\n                                         MinimumAppointmentDuration=\"0:30:0\"/>\n        </syncfusion:SfScheduler.DaysViewSettings>\n\n        <syncfusion:SfScheduler.TimelineViewSettings>\n            <syncfusion:TimelineViewSettings AppointmentTemplate=\"{StaticResource timelineAppointmentTemplate}\"\n                                             MinimumAppointmentDuration=\"0:30:0\"/>\n        </syncfusion:SfScheduler.TimelineViewSettings>\n\n        <syncfusion:SfScheduler.AppointmentMapping>\n            <syncfusion:AppointmentMapping StartTime=\"From\"\n                                           EndTime=\"To\"\n                                           Subject=\"EventName\"\n                                           AppointmentBackground=\"Color\"\n                                           StartTimeZone=\"StartTimeZone\"\n                                           EndTimeZone=\"EndTimeZone\"\n                                           IsAllDay=\"IsAllDay\"\n                                           RecurrenceExceptionDates=\"RecurrenceExceptions\"\n                                           RecurrenceRule=\"RecurrenceRule\"\n                                           RecurrenceId=\"RecurrenceId\"/>\n        </syncfusion:SfScheduler.AppointmentMapping>\n        <interactivity:Interaction.Behaviors>\n            <local:AppointmentCustomizationBehavior />\n        </interactivity:Interaction.Behaviors>\n    </syncfusion:SfScheduler>\n</UserControl>\n"
    }
  ]
}