[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Collapse]WPF Controls
  Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Expand]MVVM Framework
 [Collapse]Controls and Libraries
   Reporting
  [Expand]Data Grid
  [Collapse]Ribbon, Bars and Menu
   [Expand]Common Features
   [Expand]Bars
   [Collapse]Ribbon
    [Expand]Overview
    [Expand]Ribbon Structure
    [Expand]Populating Ribbon
    [Expand]Ribbon Menu
    [Expand]Features
     Runtime Customization
    [Expand]Examples
   [Expand]Menus
  [Expand]Charts Suite
  [Expand]Pivot Grid
  [Expand]Scheduler
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Tree List
  [Expand]Gauge Controls
  [Expand]Map Control
  [Expand]Layout Management
  [Expand]Windows Modern UI
  [Expand]Printing-Exporting
  [Expand]Data Editors
  [Expand]Navigation Controls
  [Expand]Spell Checker
  [Expand]Property Grid
  [Expand]PDF Viewer
  [Expand]TreeMap Control
  [Expand]Diagram Control
  [Expand]Windows and Utility Controls
   Dialogs, Notifications and Panels
  [Expand]Scheduler (legacy)
 [Expand]Scaffolding Wizard
 [Expand]Localization
  Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Runtime Customization

The RibbonControl supports runtime customization options much like those found in Office 2010.

Note

The runtime customization feature is enabled by default. To disable it, set the RibbonControl.AllowCustomization property to false.

While an application containing a RibbonControl runs, right-click the free space within the Ribbon Control. Select the Customize Ribbon item from the context menu.

Note

Customization will take no effect if RibbonControl's layout is generated based on the RibbonControl.CategoriesSource, RibbonPageCategoryBase.PagesSource, RibbonPage.GroupsSource or RibbonPageGroup.ItemLinksSource properties.

The Ribbon customization window has the ListBox that contains commands (BarItems) on the left and the ListBox that contains tabs (RibbonPages) on the right. The ComboBox filter at the top of each ListBox allows you to specify which commands and tabs are displayed. For example, applying the 'Main Tabs' filter within the right ListBox will cause the displaying of items within the RibbonDefaultPageCategory only, and the applying of the 'Tool Tabs' filter displays items of the RibbonPageCategory type.

Below is a list of operations available through the Ribbon Customization feature.

Task Actions
Add new pages - Right-click the right ListBox's title and select 'Add new group'.

or

- Press the 'New Page' button.
Add new groups - Right-click the page title within the right ListBox and select 'Add new page'.

or

- Select the desired page within the right ListBox, press the 'New Page' button.
Hide pages and page groups - Right-click the desired element you wish to hide and select 'Remove'

or

- Select an element and press the '<< Remove' button.
Rename pages and page groups - Right-click the desired element (page or page group) within the right ListBox and select the 'Rename' option.

or

- Select the desired element and click the 'Rename' button.
Add commands to custom page groups - Select a group within the right ListBox, a command to add within the left one and click the 'Add >>' button.

Note: by default, adding commands to the original page groups is not allowed. Set the RibbonControl.AllowCustomizingDefaultGroups to true to change this behavior.

Re-arrange pages and page groups - Right-click the element (page or page group) in the right ListBox and select 'Move up' or 'Move down'.

or

- Select the desired element and press the 'Up' or 'Down' button.
Import/Export your custom layout - Select the desired option via the lower ComboBox within the 'Customizations' section.

Note: if 'Export all customizations' option is selected, your custom layout will be applied automatically as if you clicked the 'Apply Changes' button.

Restore the original layout - Select the desired option via the upper ComboBox within the 'Customizations' section.

The following animation is a short example of customizing a RibbonControl.

Is this topic helpful?​​​​​​​