Skip to main content

Ribbon

  • 2 minutes to read

The SchedulerControl includes a default Ribbon UI that enable end users to manage appointments, switch views and dates and adjust view settings. To show the ribbon, set the SchedulerControl.CommandBarStyle property to CommandBarStyle.Ribbon. You can customize a ribbon by adding or removing items, or replace the default item with a custom one.

To modify the Scheduler’s ribbon UI, add the necessary customization actions to the SchedulerControl.RibbonActions collection. The action’s ElementName property specifies the name of the existing ribbon element you wish to change or remove. This can be a ribbon category, page, page group, or item. Element names are the DefaultBarItemNames class fields.

Note

See the How to: Display and Modify the Integrated Ribbon for the Scheduler -> Customize the Ribbon UI for more information on how to use the default bar item names to modify the ribbon.

The table below lists default ribbon items and groups and the DefaultBarItemNames properties used to access the menu items.

Note

You can find information related to items in SchedulerControl and Resource Tree pop-up menus in the Pop-Up Menus topic.

Home Ribbon Page

The Default Bar Item Name is DefaultBarItemNames.Pages_Home.

WPFScheduler_Ribbon_Home

DefaultBarItemNames Properties


SchedulerCommands and Properties

Group

Items

Groups_Home_Appointment

Groups_Home_Navigate

Groups_Home_Arrange

Groups_Home_GroupBy

Groups_Home_TimeScale

Groups_Home_Layout

Groups_Home_Window

Appointment Ribbon Page

The Default Bar Item Name is DefaultBarItemNames.Pages_Appointment.

WPFScheduler_Ribbon_Appointment

DefaultBarItemNames Properties


SchedulerCommands and Properties

Group

Items

Groups_Appointment_Actions

Groups_Appointment_Options