OptionsContextMenu.TimeRulerContextMenu Property
Gets or sets the time ruler context menu. This is a dependency property.
Namespace: DevExpress.Xpf.Scheduling
Assembly: DevExpress.Xpf.Scheduling.v18.2.dll
Declaration
Property Value
Type | Description |
---|---|
BarPopupBase | A BarPopupBase object that is the time ruler’s context menu. |
Property Paths
You can access this nested property as listed below:
Object Type | Path to TimeRulerContextMenu |
---|---|
SchedulerControl |
|
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.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the TimeRulerContextMenu 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.