TX Text Control .NET for Windows Forms

Ribbon and Sidebar Examples

Topic

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

ExampleWhat it showsWhere
TX Words RibbonA complete RibbonForm with all tabs, contextual tab groups and sidebars, the Ribbon sample of TX Words Sample ApplicationTX Words\Ribbon of the setup, and the folder TX Words of TXSamples_WinForms_CSharp
Mini toolbarGroups of the MiniToolbar that depend on what is selected; ShowMiniToolbar sets when it appears. Version 32.0, in C# and Visual BasicTXSamples_WinForms_CSharp, folder Howto
Merge field names in the ribbonReadable names for the merge fields in the drop-down lists of the RibbonReportingTab, as described in Windows Forms Ribbon: Displaying User-Friendly Merge Field Names. .NET Framework 4.8, version 33.0TextControl.WindowsForms.CustomRibbon
Icons and texts of the ribbonThe icons and texts of the ribbon and the toolbars from the ResourceProvider, for any resolution, culture and color, as described in X17: Using the Windows Forms Resource Provider. .NET Framework 4.5, version 33.0TextControl.WindowsForms.ResourceProvider
Tab dialog from the rulerThe tab dialog opened when the user double-clicks a tab position in the RulerBar, as described in Opening the Tab Dialog on Clicking a Tab Position in the RulerBar. .NET Framework 4.8, version 33.0TextControl.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.

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:

ExampleWhat it showsWhere
A ribbon application on .NET 8A ribbon form with a styles sidebar, set up with the NuGet package and the smart tag of the TextControl. Version 32.0Getting Started: Creating a .NET 8 Windows Forms Ribbon Application with Sidebar Support
Contextual tabs and the application menuContextual tab groups for tables and frames, the quick access toolbar and loading and saving from the application menu. Version 29.0Creating A Windows Forms Ribbon Application
Customizing the ribbonTexts changed, events attached, and items, groups and tabs removed or addedCustomizing the Windows Forms Ribbon
Quick access toolbarButtons added to the quick access toolbar with SetQuickAccessToolbarStandardItemsAdding Elements to the Ribbon QuickAccessToolbar
Customizing the mini toolbarA group with a print button added to the mini toolbar in TextMiniToolbarInitializedUsing the ResourceProvider to Customize the Ribbon MiniToolbar
SidebarsDocked and pinned sidebars with the content layouts available in version X16; version 34.0 has more layouts, which SidebarContentLayout listsX16: 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.

Next Steps