Ribbon for WinForms | ComponentOne
Work with Ribbon / Simplified Ribbon
In This Topic
    Simplified Ribbon
    In This Topic

    The C1Ribbon control allows a user to switch between simplified and full view of the Ribbon. The simplified view makes the ribbon more streamlined and occupy less space on the screen.

    switch to simplified view

    At runtime, this can be done using a chevron button located at the bottom right corner of the ribbon. By default, the simplified view feature is present in C1Ribbon, but a user can disable it using the AllowSimplifiedView property of C1Ribbon class.

    At design time, the user can disable the simplified view feature using the AllowSimplifiedView property of C1Ribbon in the Properties window.

    ribbon in simplified view

    This can be done programmatically as shown in the code snippet below:

    'Disable simplified view
    customRibbon.AllowSimplifiedView = False
    
    //Disable simplified view
    customRibbon.AllowSimplifiedView = false;
    

    In the simplified view, some elements are shown in a single row, while some other are shown using the dropdown menu. This is illustrated in the image below.

    dropdown menu

    Note that all the elements of the ribbon can not be shown in the drop-down part of the simplified view. For example, the user can specify not to show a button element in the dropdown using the ShowInMore property of RibbonButton class.

    At design time, this can be done using the ShowInMore property of a ribbon item in the Properties window.

    show in more property

    You can hide an element from the dropdown menu via code as shown below:

    'Hide an element from the drop down menu of simplfied ribbon
    clearButton.ShowInMore = False
    
     //Hide an element from the drop down menu of simplfied ribbon
    clearButton.ShowInMore = false;
    

    Hide Items in Simplified View

    By default, all the elements gets displayed in the simplified view. However, there might be a scenario where you would want to hide the less important items and only show the items that are required to be displayed in your application ribbon. To do so, you can set ShowInSimplified property of the RibbonItem class to false for the element that you want to hide.

    For instance, the following GIF demonstrates a scenario where end-users are limited to perform only the basic operations by hiding the styling options in the simplified view.

     

    The following code hides the text formatting options from the simplified view, hence limiting the access to basic options only. This example uses the sample created in Quick Start.

    C#
    Copy Code
    //Hides the text formatting tools from the simplified view
    boldButton.ShowInSimplified = false;
    italicButton.ShowInSimplified = false;
    underlineButton.ShowInSimplified = false;