Interactive Spelling Suggestions Using TX Spell .NET
TX Spell .NET generates real-time spelling suggestions suitable for touch-enabled interfaces. A sample project renders suggestion labels in a FlowLayoutPanel, and clicking a label calls MisspelledWords.Remove to replace the misspelled word at the current input position instantly.

With the introduction of touch-enabled interfaces in many applications, new requirements are coming up. Users expect tailored interfaces for various scenarios. In a touch-enabled word processor interface for example, suggestions of misspelled words should be accessible immediately.
Thanks to the very fast and powerful suggestion engine of TX Spell .NET, such requirements can be easily fulfilled. Suggestions can be created in real-time and visualized in various ways. In this sample, we simply created a user control with Label controls arranged in a FlowLayoutPanel for each suggestion. If the Label is clicked, the misspelled word at the current input position is replaced with the selected suggestion.
void suggestionPanel_TileClick(object sender,
SuggestionPanel.TileClickEventArgs e)
{
textControl1.MisspelledWords.Remove(
textControl1.MisspelledWords.GetItem(), e.Text);
}
You can download the sample project for Visual Studio 2012 to do your own tests. At least trial versions of TX Text Control .NET for Windows Forms and TX Spell .NET for Windows Forms are required.
Related Posts
Spell Checking, MailMerge and UserDictionaries
After a MailMerge operation, merged field text from the data source can trigger false spell-check errors in TX Spell .NET. By capturing each merged word in the FieldMerged event handler and adding…
TX Spell .NET: Creating Custom Context Menus
Custom spell checking context menus in TX Spell .NET use the SpellCheckContextMenuStrip property and MisspelledWords.GetItem method to detect the word at the mouse position. The code dynamically…
Porting RapidSpell to TX Spell .NET
TX Spell .NET serves as a direct replacement for RapidSpell in existing projects. This migration guide covers differences in dictionary handling, dialog box integration, and spell-as-you-type…
Using the WSpell ActiveX Spelling Checker with TX Text Control
The WSpell ActiveX spelling checker from Wintertree Software integrates directly with TX Text Control to add spell checking to your application. This article provides sample source code that…
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.
