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.v24.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>

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AppointmentDropContextMenuActions property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also