ComponentOne Ribbon for WinForms
C1Ribbon (Classic) Task-Based Help / Creating and Displaying Key Tips
In This Topic
    Creating and Displaying Key Tips
    In This Topic

    C1Ribbon supports Key Tips. These offer you an easy way to display all the commands on the Ribbon Toolbar and also allow you to move between elements on the C1Ribbon control using your keyboard commands. Key Tips use the SupportsKeyTips property and the CaptureF10Key property on the main C1Ribbon control and the KeyTip property for the individual elements of the C1Ribbon control.

    Note: This topic assumes that you have added a Ribbon button to the group and created a RibbonToggleButton.Click event handler for the Bold button.

    Follow these steps:

    1. Select the tab that contains your RibbonToggleButton. View the RibbonTab properties in the Properties window and locate the KeyTips property. Note that this property is set to 1 by default.
    2. Select the Bold button on your C1Ribbon control. Locate the KeyTips property for the RibbonToggleButton in the Properties window.
    3. For this Help, set your RibbonToggleButton.KeyTip property to 4, as in the following image.
    4. Create KeyTips for other elements on the C1Ribbon control. KeyTips can be used for RibbonGroupsRibbonTabsRibbonButtons, etc.
    5. Press F5 to run your application. Press Alt to display the KeyTips and then press F10 to show or hide the KeyTips. Your C1Ribbon application should resemble the following image:

    6. If you press 1, the KeyTips for the RibbonToggleButtons will be displayed.