# Ribbon and Sidebar Examples

> Samples of the ribbon, sidebars and toolbars of TX Text Control .NET for Windows Forms: TX Words, the mini toolbar, the ResourceProvider and ribbon articles.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Documentation
- **Kind:** Topic
- **Path:** TX Text Control .NET for Windows Forms > Examples > Ribbon and Sidebar Examples
- **1291 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/examples/ribbon-sidebar/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/examples/ribbon-sidebar/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/examples/ribbon-sidebar/llms-full.txt

---

A ribbon with the tabs of TX Text Control, sidebars for styles, comments or tracked changes, and a quick access toolbar make up the user interface of most Windows Forms applications built with it. The samples and articles below show how to build such a form and how to change the ribbon to fit your application.

### Sample Projects

| Example | What it shows | Where |
|---|---|---|
| TX Words Ribbon | A complete [RibbonForm](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonform/llms-full.txt) with all tabs, contextual tab groups and sidebars, the Ribbon sample of [TX Words Sample Application](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/examples/tx-words/#the-samples) | *TX Words\\Ribbon* of the setup, and the folder *TX Words* of [TXSamples\_WinForms\_CSharp](https://github.com/TextControl/TXSamples_WinForms_CSharp) |
| Mini toolbar | Groups of the [MiniToolbar](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/minitoolbar/llms-full.txt) that depend on what is selected; [ShowMiniToolbar](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/showminitoolbar-property/llms-full.txt) sets when it appears. Version 32.0, in C# and Visual Basic | [TXSamples\_WinForms\_CSharp](https://github.com/TextControl/TXSamples_WinForms_CSharp), folder *Howto* |
| Merge field names in the ribbon | Readable names for the merge fields in the drop-down lists of the [RibbonReportingTab](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonreportingtab/llms-full.txt), as described in [Windows Forms Ribbon: Displaying User-Friendly Merge Field Names](https://www.textcontrol.com/blog/2020/01/14/displaying-user-friendly-merge-field-names-in-the-ribbon/). .NET Framework 4.8, version 33.0 | [TextControl.WindowsForms.CustomRibbon](https://github.com/TextControl/TextControl.WindowsForms.CustomRibbon) |
| Icons and texts of the ribbon | The icons and texts of the ribbon and the toolbars from the [ResourceProvider](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms/resourceprovider/llms-full.txt), for any resolution, culture and color, as described in [X17: Using the Windows Forms Resource Provider](https://www.textcontrol.com/blog/2019/06/01/x17-using-the-windows-forms-resource-provider/). .NET Framework 4.5, version 33.0 | [TextControl.WindowsForms.ResourceProvider](https://github.com/TextControl/TextControl.WindowsForms.ResourceProvider) |
| Tab dialog from the ruler | The tab dialog opened when the user double-clicks a tab position in the [RulerBar](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/rulerbar/llms-full.txt), as described in [Opening the Tab Dialog on Clicking a Tab Position in the RulerBar](https://www.textcontrol.com/blog/2019/11/08/opening-the-tab-dialog/). .NET Framework 4.8, version 33.0 | [TextControl.WindowsForms.Tab-Dialog](https://github.com/TextControl/TextControl.WindowsForms.Tab-Dialog) |

The other TX Words samples use further tabs and sidebars of the ribbon, such as the conditional instructions sidebar or the permissions tab; see [TX Words Sample Application](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/examples/tx-words/llms-full.txt).

### Blog Articles With Code

No repository shows the sidebar or the quick access toolbar on its own. These articles contain the code in the article, written for the version named:

| Example | What it shows | Where |
|---|---|---|
| A ribbon application on .NET 8 | A ribbon form with a styles sidebar, set up with the NuGet package and the smart tag of the `TextControl`. Version 32.0 | [Getting Started: Creating a .NET 8 Windows Forms Ribbon Application with Sidebar Support](https://www.textcontrol.com/blog/2024/02/28/getting-started-creating-a-net-8-windows-forms-ribbon-application-with-sidebar-support/) |
| Contextual tabs and the application menu | Contextual tab groups for tables and frames, the quick access toolbar and loading and saving from the application menu. Version 29.0 | [Creating A Windows Forms Ribbon Application](https://www.textcontrol.com/blog/2020/01/01/creating-a-windows-forms-ribbon-application/) |
| Customizing the ribbon | Texts changed, events attached, and items, groups and tabs removed or added | [Customizing the Windows Forms Ribbon](https://www.textcontrol.com/blog/2018/09/17/customizing-the-windows-forms-ribbon/) |
| Quick access toolbar | Buttons added to the quick access toolbar with [SetQuickAccessToolbarStandardItems](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonform/setquickaccesstoolbarstandarditems-method/llms-full.txt) | [Adding Elements to the Ribbon QuickAccessToolbar](https://www.textcontrol.com/blog/2016/12/22/adding-elements-to-the-ribbon-quickaccesstoolbar/) |
| Customizing the mini toolbar | A group with a print button added to the mini toolbar in [TextMiniToolbarInitialized](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/textminitoolbarinitialized-event/llms-full.txt) | [Using the ResourceProvider to Customize the Ribbon MiniToolbar](https://www.textcontrol.com/blog/2019/07/10/using-the-resourceprovider-to-customize-the-ribbon-minitoolbar/) |
| Sidebars | Docked and pinned sidebars with the content layouts available in version X16; version 34.0 has more layouts, which [SidebarContentLayout](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms/sidebar/sidebarcontentlayout-enumeration/llms-full.txt) lists | [X16: Using the TX Text Control Windows Forms Sidebars](https://www.textcontrol.com/blog/2018/11/16/x16-using-the-tx-text-control-windows-forms-sidebars/) |

The articles name the toolbox tab of their version. In version 34.0, the tab is **TX Text Control 34.0**; see [Visual Studio Toolbox and Designer](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/installation/toolbox/llms-full.txt).

### Next Steps

- [Create a Ribbon Application with Sidebar Support](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/getting-started/document-editor/ribbon-sidebar/llms-full.txt): build a ribbon form step by step.
- [Ribbon, Toolbars, Rulers, and Status Bar](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/overview/components/ribbon-toolbars/llms-full.txt): the components and their tabs.
- [Sidebar](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/overview/components/sidebar/llms-full.txt): the panels of the sidebar.
- [Sidebar and Panels](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/document-editor/ribbon-ui/sidebar/#open-sidebars-with-ribbon-buttons): how the ribbon opens them.

---

## Nearby

- **Previous:** [Document Editor Examples](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/examples/document-editor/llms-full.txt)
- **Next:** [Document Processing Examples](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/examples/document-processing/llms-full.txt)
