Back to Devexpress

OptionsContextMenu.TimeRulerContextMenu Property

wpf-devexpress-dot-xpf-dot-scheduling-dot-optionscontextmenu-0f8e6a02.md

latest2.1 KB
Original Source

OptionsContextMenu.TimeRulerContextMenu Property

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

Namespace : DevExpress.Xpf.Scheduling

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

NuGet Package : DevExpress.Wpf.Scheduling

Declaration

csharp
public BarPopupBase TimeRulerContextMenu { get; set; }
vb
Public Property TimeRulerContextMenu As BarPopupBase

Property Value

TypeDescription
BarPopupBase

A BarPopupBase object that is the time ruler’s context menu.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to TimeRulerContextMenu
SchedulerControl

.OptionsContextMenu .TimeRulerContextMenu

|

Remarks

Use the TimeRulerContextMenu property to create a custom time ruler context menu.

You can also generate the default time ruler context menu using the Scheduler’s smart tag and customize it as required. In this case, the TimeRulerContextMenu property is set to the generated context menu.

Use the OptionsContextMenu.TimeRulerContextMenuActions property to customize the default time ruler context menu without generating it.

See Also

OptionsContextMenu Class

OptionsContextMenu Members

DevExpress.Xpf.Scheduling Namespace