Products Technologies Demo Docs Blog Support Company

Adding Spell Checking and Hyphenation to TX Text Control X10

Adding spell checking and hyphenation to TX Text Control is very easy with TX Spell .NET. No code is required to connect the controls and if required, the available dictionaries are automatically chosen based on the input language. The following procedure shows how create a simple TX Text Control based application with spell checking and automatic hyphenation. Create a new Windows Forms application in Visual Studio. Find the TextControl in the toolbox and drag and drop it onto a form. Open…

Adding Spell Checking and Hyphenation to TX Text Control X10
Adding spell checking and hyphenation to TX Text Control

Adding spell checking and hyphenation to TX Text Control is very easy with TX Spell .NET. No code is required to connect the controls and if required, the available dictionaries are automatically chosen based on the input language.

The following procedure shows how create a simple TX Text Control based application with spell checking and automatic hyphenation.

  1. Create a new Windows Forms application in Visual Studio. Find the TextControl in the toolbox and drag and drop it onto a form.

  2. Open the SmartTag in the upper right corner of TextControl and visit each wizard link to add additional controls and to connect them.

    Adding spell checking and hyphenation to TX Text Control
  3. Now, find the TXSpellChecker in the toolbox and add it to the form. Looking at the Properties Window, you will see that the properties Language and HyphenationLanguage properties are set to (Auto) which means that the available dictionaries are automatically used based on the language at the current input position of the connected TextControl.

    Adding spell checking and hyphenation to TX Text Control
  4. Select TextControl and find the SpellChecker property in the Properties Window. Set this property to the created TXSpellChecker instance.

    Adding spell checking and hyphenation to TX Text Control
  5. Next, make sure that the IsSpellCheckingEnabled and IsHyphenationEnabled properties of TextControl are set to true.

    Adding spell checking and hyphenation to TX Text Control
  6. Compile and start the application and enjoy automatic spell-as-you-type support, a spell checking context menu on misspelled words, hyphenation at the end of the line and a ready-to-use spell check dialog box - all of this without writing a single line of code.

Stay in the loop!

Subscribe to the newsletter to receive the latest updates.

Related Posts

ASP.NETWindows FormsWPF

TX Text Control 33.0 SP3 is Now Available: What's New in the Latest Version

TX Text Control 33.0 Service Pack 3 is now available, offering important updates and bug fixes for all platforms. If you use TX Text Control in your document processing applications, this service…


ASP.NETASP.NET CoreDocument Viewer

High-Performance Text Replacement in Large DOCX Files using C# .NET

Learn how to efficiently replace text in large DOCX files using C# .NET and the ServerTextControl component from Text Control. This article demonstrates the performance benefits of using the…


ASP.NETASP.NET CoreDocument Viewer

Document Viewer 33.2.1 Released: New Event and Bug Fixes

This service pack includes important bug fixes and improvements to enhance the stability and performance of the Document Viewer. In addition, a new event has been introduced to provide developers…


ASP.NETAccessibilityASP.NET Core

Upcoming Support for PDF/UA Compliance and Tagged PDF Generation in Version 34.0

We are happy to announce that version 34.0 will support PDF/UA compliance and the creation of tagged PDF documents. This significant update demonstrates our ongoing commitment to accessibility by…


ASP.NETWindows FormsWPF

TX Text Control 33.0 SP2 is Now Available: What's New in the Latest Version

TX Text Control 33.0 Service Pack 2 is now available, offering important updates and bug fixes for all platforms. If you use TX Text Control in your document processing applications, this service…