Back to Devexpress

SchedulerControl.RibbonActions Property

wpf-devexpress-dot-xpf-dot-scheduling-dot-schedulercontrol-1505fbb4.md

latest4.5 KB
Original Source

SchedulerControl.RibbonActions Property

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

Declaration

csharp
public ObservableCollection<IControllerAction> RibbonActions { get; }
vb
Public ReadOnly Property RibbonActions As ObservableCollection(Of IControllerAction)

Property Value

TypeDescription
ObservableCollection<IControllerAction>

A collection of ribbon customization actions.

|

Remarks

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:

Example

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.

wpf-scheduler-use-scheduler-report-to-print-and-export-appointments/CS/PrintingExample/MainWindow.xaml#L28

xml
<!--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

xml
</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

xml
CommandBarStyle="Ribbon">
<dxsch:SchedulerControl.RibbonActions>
    <!--Remove the Window group from the Home tab.-->

See Also

How to: Display the Integrated Ribbon for the Scheduler

SchedulerControl Class

SchedulerControl Members

DevExpress.Xpf.Scheduling Namespace