wpf-devexpress-dot-xpf-dot-scheduling-dot-schedulercontrol-1505fbb4.md
Provides access to the collection of actions used to customize the SchedulerControl’s integrated ribbon UI.
Namespace : DevExpress.Xpf.Scheduling
Assembly : DevExpress.Xpf.Scheduling.v25.2.dll
NuGet Package : DevExpress.Wpf.Scheduling
public ObservableCollection<IControllerAction> RibbonActions { get; }
Public ReadOnly Property RibbonActions As ObservableCollection(Of IControllerAction)
| Type | Description |
|---|---|
| ObservableCollection<IControllerAction> |
A collection of ribbon customization actions.
|
Add the necessary customization actions to the RibbonActions collection to modify the SchedulerControl’s integrated ribbon UI. You can create, modify or remove ribbon tabs, groups and individual items, as shown in the code snippet below.
To customize items in SchedulerControl’s context menus, access the menu actions using the following SchedulerControl.OptionsContextMenu properties:
How to: Display the Integrated Ribbon for the Scheduler -> Customize the Ribbon UI
The following code snippets (auto-collected from DevExpress Examples) contain references to the RibbonActions 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.
<!--region #PrintButton-->
<dxsch:SchedulerControl.RibbonActions>
<dxb:InsertAction ContainerName="{x:Static dxsch:DefaultBarItemNames.Pages_Home}" Index="6">
wpf-scheduler-apply-end-user-restrictions/CS/WpfApplication1/MainWindow.xaml#L45
</dxsch:SchedulerControl.DataSource>
<dxsch:SchedulerControl.RibbonActions>
<dxb:InsertAction ContainerName="{x:Static dxsch:DefaultBarItemNames.Pages_Home}" Index="6">
wpf-scheduler-customize-built-in-ribbon-control/CS/SchedulerRibbonExample/MainWindow.xaml#L20
CommandBarStyle="Ribbon">
<dxsch:SchedulerControl.RibbonActions>
<!--Remove the Window group from the Home tab.-->
See Also