Custom Layout

This applies to the optional Designer Component Add-On. This demo shows you how to hide and show ribbon bar tabs as needed to create a customized ribbon container for your own application.

This sample shows the following: Hide tabs and buttons in the ribbon and context menu and show only the items you need. Change the text of the insert and delete buttons on the home tab and the confirm and cancel buttons on the formatting dialog. Disable the indentation and direction dropdown list. When viewing the code, you can see the following steps are taken: Create a new Designer config. Hide specific tabs. Hide specific button groups in each tab. Disable buttons in the ribbon. Customize the localization by changing the text for buttons and tabs using the Designer.getResources() call. Remove certain commands from the context menu. Replace the current Designer config with the one you just created.