Skip to main content

OptionsContextMenu.AppointmentDropContextMenuActions Property

Provides access to the collection of actions used to customize the appointment drop’s context menu.

Namespace: DevExpress.Xpf.Scheduling

Assembly: DevExpress.Xpf.Scheduling.v26.1.dll

NuGet Package: DevExpress.Wpf.Scheduling

Declaration

public ObservableCollection<IControllerAction> AppointmentDropContextMenuActions { get; }

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 AppointmentDropContextMenuActions
SchedulerControl
.OptionsContextMenu .AppointmentDropContextMenuActions

Remarks

Add InsertAction, UpdateAction or RemoveAction to the AppointmentDropContextMenuActions collection to modify the integrated appointment drop’s context menu. This menu is invoked when drag-and-dropping the appointment with the right mouse button:

DXScheduler_ContextMenus_AppointmentDrop

Use the OptionsContextMenu.AppointmentDropContextMenu property to provide the custom context menu of this type.

Example

View Example

<dxsch:OptionsContextMenu.AppointmentDropContextMenuActions>
    <!--Remove the "Copy" item-->
    <dxb:RemoveAction ElementName="{x:Static Member=dxsch:DefaultBarItemNames.ContextMenu_Items_AppointmentDrop_Actions_CopyAppointmentsOnDrop}"/>
</dxsch:OptionsContextMenu.AppointmentDropContextMenuActions>
See Also