SchedulerControl.TimeRulerMenuCustomizations Property
Allows you to customize a time ruler's popup menu by adding new menu items or removing existing items.
Namespace: DevExpress.Xpf.Scheduler
Assembly: DevExpress.Xpf.Scheduler.v14.2.dll
Declaration
public BarManagerActionCollection TimeRulerMenuCustomizations { get; }
Public ReadOnly Property TimeRulerMenuCustomizations As BarManagerActionCollection
Property Value
| Type | Description |
|---|---|
| BarManagerActionCollection | A BarManagerActionCollection object. |
Remarks
Use the TimeRulerMenuCustomizations property to modify the popup menu that is invoked when a time ruler is right-clicked.
Examples
This example demonstrates how to add a custom menu item to the time ruler's popup menu of the SchedulerControl via the SchedulerControl.TimeRulerMenuCustomizations property.

private void customButtonItem_ItemClick(object sender, ItemClickEventArgs e) {
// Implement the custom action.
// ...
}
See Also