How to add an appointment using the Context Flyout in WinUI Scheduler?
In the WinUI Scheduler, use the CellContextFlyout and the AppointmentContextFlyout options to add, remove, and edit the appointments using the inbuilt Add, Edit, and Delete command.
XAML
The Command Parameter of CellContextFlyout and AppointmentContextFlyout is SchedulerContextFlyoutInfo. It contains the Appointment or the DateTime of the corresponding cell, based on this add, delete, and edit the appointments.
<scheduler:SfScheduler x:Name="scheduler"
ViewType="Month"
ItemsSource="{Binding ScheduleAppointmentCollection}"
>
<scheduler:SfScheduler.CellContextFlyout>
<MenuFlyout>
<MenuFlyoutItem Text="Add"
Command="{x:Bind Path=scheduler:SchedulerCommands.Add}"
CommandParameter="{Binding}">
<MenuFlyoutItem.Icon>
<FontIcon x:Name="Add"
FontFamily="Segoe MDL2 Assets"
Glyph=""/>
</MenuFlyoutItem.Icon>
</MenuFlyoutItem>
</MenuFlyout>
</scheduler:SfScheduler.CellContextFlyout>
<scheduler:SfScheduler.AppointmentContextFlyout>
<MenuFlyout>
<MenuFlyoutItem Text="Edit" Command="{x:Bind Path=scheduler:SchedulerCommands.Edit}" CommandParameter="{Binding}">
<MenuFlyoutItem.Icon>
<FontIcon x:Name="Edit" FontFamily="Segoe MDL2 Assets" Glyph=""/>
</MenuFlyoutItem.Icon>
</MenuFlyoutItem>
<MenuFlyoutItem Text="Delete" Command="{x:Bind Path=scheduler:SchedulerCommands.Delete}" CommandParameter="{Binding}">
<MenuFlyoutItem.Icon>
<FontIcon x:Name="Delete" FontFamily="Segoe MDL2 Assets" Glyph=""/>
</MenuFlyoutItem.Icon>
</MenuFlyoutItem>
</MenuFlyout>
</scheduler:SfScheduler.AppointmentContextFlyout>
</scheduler:SfScheduler>

Take a moment to pursue the documentation. You can also find the options of using the ContextFlyout in the scheduler.
Conclusion
I hope you enjoyed learning about how to add an appointment using the Context Flyout in WinUI Scheduler (Calendar).
You can refer to
our WinUI
Scheduler feature
tour page to know about its other
groundbreaking feature representations and documentation, and
how to quickly get started for configuration specifications. You can also
explore our
WinUI Scheduler example to understand how to create and manipulate data.
For current customers, you can check out our components from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial to check out our other controls.
If you have any queries or require clarifications, please let us know in the comments section below. You can also contact us through our support forums, Direct-Trac, or feedback portal. We are always happy to assist you!