OptionsContextMenu.CellContextMenuActions Property
Provides access to the collection of actions used to customize the time cell’s context menu.
Namespace: DevExpress.Xpf.Scheduling
Assembly: DevExpress.Xpf.Scheduling.v24.2.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 CellContextMenuActions |
---|---|
SchedulerControl |
|
Remarks
Add InsertAction, UpdateAction or RemoveAction to the CellContextMenuActions collection to modify the integrated time cell’s context menu:
Use the OptionsContextMenu.CellContextMenu property to provide a custom time cell’s context menu.
Example
<dxsch:OptionsContextMenu.CellContextMenu>
<dxb:PopupMenu>
<dxb:PopupMenu.Items>
<dxb:BarButtonItem Content="Add Broadcast..."
Glyph="{dx:DXImage Image=Appointment_16x16.png}"
Command="{Binding ElementName=schedulerCommands, Path=ShowNewAppointmentWindowCommand}"/>
<dxb:BarButtonItem Content="Add News Block..."
Glyph="{dx:DXImage Image=RecurringAppointment_16x16.png}"
Command="{Binding ElementName=schedulerCommands, Path=ShowNewRecurringAppointmentWindowCommand}"/>
</dxb:PopupMenu.Items>
</dxb:PopupMenu>
</dxsch:OptionsContextMenu.CellContextMenu>
See Also