Getting Started with Windows Forms (.NET 5 and better)
This article shows how to use the TX Text Control .NET for Windows Forms TextControl class within a .NET 6 application in Visual Studio 2022.

The following tutorial shows how to create a .NET 6 Windows Forms App that uses the Text
Creating the Project
-
Open Visual Studio 2022 and create a new project. Select C# or Visual Basic from the Languages drop-down list, Windows from the Platform list and Desktop as the Project Type. Find the project template Windows Forms App and confirm with Next.
-
Specify a project name confirm with Next.
-
Select your preferred Framework version such as .NET 6 (Long-term support) and confirm with Create.
Adding the Control
-
Select the project in the Solution Explorer and click Project -> Manage NuGet Packages... from the main menu.
-
Select Text Control Offline Packages as the Package source and click Browse.
-
Select TXTextControl.TextControl.WinForms.SDK and click Install.
-
In the Solution Explorer, open the form Form1 and find the TX Text Control 32.0 tab in the Toolbox.
-
Select the icon TextControl and draw it onto the opened form.
-
Click on the "Smart Tag" in the upper right corner of TextControl. In the Wizards group, click on Add a Ribbon, Add a Status Bar, Add a Ruler and Add a Vertical Ruler. Finally, click on Arrange Controls Automatically. The controls are now connected and docked to fill the container:
-
On the form, select the ribbon control by clicking the blue File tab title in order to click on the "Smart Tag" in the upper right corner of the ribbon control. Click on Add a RibbonFormattingTab, Add a RibbonInsertTab, Add a RibbonPageLayoutTab, Add a RibbonViewTab and Add a RibbonProofingTab.
-
Build and start the application.
Windows Forms
Text Control combines the power of a reporting tool and an easy-to-use WYSIWYG word processor - fully programmable and embeddable in your Windows Forms application. TX Text Control .NET for Windows Forms is a royalty-free, fully programmable rich edit control that offers developers a broad range of word processing features in a reusable component for Visual Studio.
Related Posts
Windows FormsGetting StartedTutorial
Windows Forms Tutorial: Create Your First Windows Forms C# Application
This tutorial shows how to create your first Windows Forms application with C# using TX Text Control .NET for Windows Forms in Visual Studio 2022.
Upgrading a .NET Framework Windows Forms App to a .NET 8 Windows Forms App…
This tutorial shows how to upgrade a .NET Framework Windows Forms App to a .NET 6 Windows Forms App by using the .NET Upgrade Assistant. In addition, you will learn how to replace the references…
Windows Forms.NET 6TextControl
Upgrading a .NET Framework Windows Forms App to a .NET 6 Windows Forms App
This article explains how to upgrade a .NET Framework Windows Forms App to a .NET 6 Windows Forms App using the .NET Upgrade Assistant.
Official TX Text Control .NET Sample Applications Are Now Hosted on GitHub
This article gives a quick overview of the new repositories, their structure and our plans for the future.
Using Charts with TX Text Control .NET for Windows 31.0 in .NET 6
The chart controls included in the .NET Framework are deprecated and were not ported to .NET (Core). This article shows how to use a .NET 6 version of the DataVisualization control with TX Text…