# Ribbon and UI

> Adapt the user interface of the Document Editor: change the ribbon, add custom tabs and buttons, customize context menus and set the language of the interface.

- **Product:** TX Text Control .NET Server
- **Section:** Documentation
- **Kind:** Topic
- **Path:** TX Text Control .NET Server > Document Editor > Ribbon and UI
- **721 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/document-editor/ribbon-ui/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/document-editor/ribbon-ui/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/document-editor/ribbon-ui/llms-full.txt

---

Users should find the functions they need in the Document Editor, including functions of your own application. For that, you adapt the ribbon, the context menus and the language in which the editor shows them to your application.

You can remove built-in tabs and buttons, add tabs and context menu items that call your code and show the editor in your users' language.

### How the User Interface Is Built

The user interface of the editor runs in the browser, but its content comes from the server:

- **The ribbon** groups the functions of the editor in tabs. It consists of HTML elements and CSS in the page, which are loaded from the server when the editor starts. The JavaScript API selects tabs and minimizes the ribbon; to remove or add elements, your code changes the HTML of the ribbon.
- **The context menus** open when users right-click into the document. Before a menu opens, the editor raises the `contextMenuOpening` event, whose handler changes the items of the menu.
- **The texts** of the ribbon and the dialog boxes come from string resources on the server. The UI culture, set when the editor is created, selects their language.

The ribbons and context menus of the editor on the Core engine were changed in version 34.0. If your application customizes them, test the customizations after an upgrade.

Showing or hiding the complete ribbon bar, the rulers and the status bar is described in [Viewing and Printing](https://docs.textcontrol.com/tx-text-control-dotnet-server/document-editor/viewing-printing/llms-full.txt).

### Find the Right Page

| If you want to | Read |
|---|---|
| Select or minimize the ribbon, remove built-in elements or configure the sidebar toggle button | [Ribbon](https://docs.textcontrol.com/tx-text-control-dotnet-server/document-editor/ribbon-ui/ribbon/llms-full.txt) |
| Turn context menus off, add items that call your code or change built-in items | [Context Menus](https://docs.textcontrol.com/tx-text-control-dotnet-server/document-editor/ribbon-ui/context-menus/llms-full.txt) |
| Add a tab of your own, or a group with your buttons to a built-in tab | [Custom Tabs](https://docs.textcontrol.com/tx-text-control-dotnet-server/document-editor/ribbon-ui/custom-tabs/llms-full.txt) |
| Show the editor in another language, or format dates for a culture | [Localization](https://docs.textcontrol.com/tx-text-control-dotnet-server/document-editor/ribbon-ui/localization/llms-full.txt) |

### Where to Start

1. [Ribbon](https://docs.textcontrol.com/tx-text-control-dotnet-server/document-editor/ribbon-ui/ribbon/llms-full.txt): how the ribbon is built and when your code may change it.
2. [Custom Tabs](https://docs.textcontrol.com/tx-text-control-dotnet-server/document-editor/ribbon-ui/custom-tabs/llms-full.txt) or [Context Menus](https://docs.textcontrol.com/tx-text-control-dotnet-server/document-editor/ribbon-ui/context-menus/llms-full.txt): add the functions of your application.
3. [Localization](https://docs.textcontrol.com/tx-text-control-dotnet-server/document-editor/ribbon-ui/localization/llms-full.txt): when your users work in another language.

The pages rely on the events of the editor and on its JavaScript API, described in [Events](https://docs.textcontrol.com/tx-text-control-dotnet-server/document-editor/events/llms-full.txt) and [JavaScript API](https://docs.textcontrol.com/tx-text-control-dotnet-server/document-editor/javascript-api/llms-full.txt).

### Pages in This Section

- [Ribbon](https://docs.textcontrol.com/tx-text-control-dotnet-server/document-editor/ribbon-ui/ribbon/llms-full.txt): select, minimize and expand the ribbon and remove its tabs, groups and buttons.
- [Context Menus](https://docs.textcontrol.com/tx-text-control-dotnet-server/document-editor/ribbon-ui/context-menus/llms-full.txt): customize the menus that open on a right-click.
- [Custom Tabs](https://docs.textcontrol.com/tx-text-control-dotnet-server/document-editor/ribbon-ui/custom-tabs/llms-full.txt): add tabs, groups and buttons of your own.
- [Localization](https://docs.textcontrol.com/tx-text-control-dotnet-server/document-editor/ribbon-ui/localization/llms-full.txt): set the UI culture and the culture of the editor.

---

## In This Section

- [Context Menus](https://docs.textcontrol.com/tx-text-control-dotnet-server/document-editor/ribbon-ui/context-menus/llms-full.txt): Customize the context menus of the Document Editor: turn them off, add items with click handlers and sub menus, disable or remove built-in items by location.
- [Custom Tabs](https://docs.textcontrol.com/tx-text-control-dotnet-server/document-editor/ribbon-ui/custom-tabs/llms-full.txt): Add your own tabs, groups and buttons to the Document Editor ribbon: its HTML and CSS classes, inserting them at ribbonTabsLoaded and handling their clicks.
- [Localization](https://docs.textcontrol.com/tx-text-control-dotnet-server/document-editor/ribbon-ui/localization/llms-full.txt): Set the Document Editor's UI language and culture with UICulture and Culture, and build satellite assemblies for more languages with the Resource Kit.
- [Ribbon](https://docs.textcontrol.com/tx-text-control-dotnet-server/document-editor/ribbon-ui/ribbon/llms-full.txt): Work with the ribbon of the Document Editor: its tabs and events, selecting, minimizing and expanding it, removing tabs, groups and buttons, the sidebar button.

---

## Nearby

- **Previous:** [Viewing and Printing](https://docs.textcontrol.com/tx-text-control-dotnet-server/document-editor/viewing-printing/llms-full.txt)
- **Next:** [Ribbon](https://docs.textcontrol.com/tx-text-control-dotnet-server/document-editor/ribbon-ui/ribbon/llms-full.txt)
