Products Technologies Demo Docs Blog Support Company

Getting Started with Windows Forms (.NET Framework)

This article shows how to use the TX Text Control .NET for Windows Forms TextControl class within a .NET Framework (4.8) application in Visual Studio 2022.

Getting Started with Windows Forms (.NET Framework)

The following tutorial shows how to create a .NET Framework Windows Forms App that uses the TextControl class.

Creating the Project

  1. 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 (.NET Framework) and confirm with Next.

    Windows Forms

  2. Specify a project name, select .NET Framework 4.8 from the Framework drop-down list and confirm with Create.

Adding the Control

  1. Find the TX Text Control 31.0 toolbox tab that has been created automatically. All usable TX Text Control controls or components are listed in this tab.

    Windows Forms

  2. Select the icon TextControl and draw it onto the opened form.

  3. 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:

    Windows Forms

  4. 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.

    Windows Forms

  5. Build and start the application.

Stay in the loop!

Subscribe to the newsletter to receive the latest updates.

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.

See Windows Forms products

Related Posts

WPFGetting Started.NET 4.8

Getting Started with WPF (.NET Framework)

This article shows how to use the TX Text Control WPF.TextControl class within a .NET Framework 4.8 application in Visual Studio 2022.


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.


Windows Forms.NET FrameworkTables

A Step-by-Step Guide to Formatting Table Cells in TX Text Control…

Users can easily insert tables, modify their structure, adjust row and column sizes, and apply formatting to table cells programmatically. This article shows the powerful table features in TX Text…


Windows FormsWPF.NET

Create a Table of Contents in Windows Forms using C#

This article explains how to create a table of contents in Windows Forms using the ribbon or programmatically. Creating a table of contents is required to organize large documents.


ASP.NETWindows FormsWPF

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.