Skip to main content

SchedulerControl.OptionsContextMenu Property

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

Namespace: DevExpress.Xpf.Scheduling

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

NuGet Package: DevExpress.Wpf.Scheduling

Declaration

public OptionsContextMenu OptionsContextMenu { get; set; }

Property Value

Type Description
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.

Tip

Generate the default context menu of any type and customize it as required using the Scheduler’s smart tag. Refer to the Create Context Menu topic for details.

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.

See Also