Back to Devexpress

SchedulerControl.OptionsContextMenu Property

wpf-devexpress-dot-xpf-dot-scheduling-dot-schedulercontrol-7f1b36e8.md

latest2.6 KB
Original Source

SchedulerControl.OptionsContextMenu Property

Gets or sets the context menu options. This is a dependency property.

Namespace : DevExpress.Xpf.Scheduling

Assembly : DevExpress.Xpf.Scheduling.v25.2.dll

NuGet Package : DevExpress.Wpf.Scheduling

Declaration

csharp
public OptionsContextMenu OptionsContextMenu { get; set; }
vb
Public Property OptionsContextMenu As OptionsContextMenu

Property Value

TypeDescription
OptionsContextMenu

A OptionsContextMenu object representing the context menu options.

|

Remarks

Use the OptionsContextMenu property to access the properties allowing you to customize the Scheduler context menus. Use *ContextMenuActions properties to access the target menu’s actions collection and add the desired customizations to it. The *ContextMenu properties enables you to access the context menu object and replace it with the custom menu.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the OptionsContextMenu 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.

wpf-scheduler-customize-context-menus/CS/DXScheduler_PopUpMenuCustomization/MainWindow.xaml#L56

xml
<dxsch:SchedulerControl.OptionsContextMenu>
    <dxsch:OptionsContextMenu>

See Also

Pop-Up Menus

SchedulerControl Class

SchedulerControl Members

DevExpress.Xpf.Scheduling Namespace