OptionsContextMenu.AppointmentContextMenuActions Property
Provides access to the collection of actions used to customize the appointment’s context menu.
Namespace: DevExpress.Xpf.Scheduling
Assembly: DevExpress.Xpf.Scheduling.v26.1.dll
NuGet Package: DevExpress.Wpf.Scheduling
Declaration
Property Value
| Type | Description |
|---|---|
| ObservableCollection<IControllerAction> | A collection of context menu customization actions. |
Property Paths
You can access this nested property as listed below:
| Object Type | Path to AppointmentContextMenuActions |
|---|---|
| SchedulerControl |
|
Remarks
Add InsertAction, UpdateAction or RemoveAction to the AppointmentContextMenuActions collection to modify the integrated appointment’s context menu.

Use the OptionsContextMenu.AppointmentContextMenu property to create a custom appointment context menu.
Example
<dxsch:OptionsContextMenu.AppointmentContextMenuActions>
<!--Insert the "Recurrence" item invoking the Recurrence dialog-->
<dxb:InsertAction Index="-1">
<dxb:BarButtonItem Content="Recurrence"
Glyph="{dx:DXImage Image=Recurrence_32x32.png}"
Command="{Binding ElementName=schedulerCommands, Path=OpenRecurrenceWindowCommand}">
</dxb:BarButtonItem>
</dxb:InsertAction>
<!--Insert the check item which converts the selected appointment to an all day event-->
<dxb:InsertAction>
<dxb:BarCheckItem x:Name="allDayCheck"
Content="All-Day Appointment"
Glyph="{dx:DXImage Image=Check_16x16.png}"
CheckedChanged="allDayCheck_CheckedChanged"/>
</dxb:InsertAction>
</dxsch:OptionsContextMenu.AppointmentContextMenuActions>
See Also