AutoCompletion in TX Text Control
This sample application implements AutoCompletion in TX Text Control, allowing users to type a few initial characters and have the full word inserted automatically. The approach handles lengthy technical terms at the application level and includes freely downloadable source code.

Often I am asked how to implement AutoCompletion(also called AutoText) functionality in TX Text Control.
AutoCompletion allows you to type the first few letters of a commonly used word (often technical or job specific), and tell TX Text Control to finish typing the word for you. This is often very useful when you have lengthy technical words.
You can save a lot of valuable time using AutoCompletion, if you spend a lot of time of writing lengthy articles.
Typically, AutoCompletion is implemented at the end user application level, due to the different requirements of every application.
In this sample application, you will learn how to implement AutoCompletion in a TX Text Control based word processing application.
As usual, you can download the source code and do what ever you want with it - use it in your own applications, learn from it or integrate it into a new project. The source code does not have any copyright.
Related Posts
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.
Two Ways to Restart Numbered Lists in TX Text Control
In TX Text Control, numbered lists are continued by default and need to be reset when required. There is more than one way if you want to restart numbered lists in a document. In this article, two…
Paste Special: The Easy Way to Implement
TX Text Control version 15.0 introduced a ClipboardFormat parameter on the Paste method, enabling native Paste Special functionality. The GetClipboardFormats method returns all available clipboard…
How to Remove All Section Breaks in a Document?
TX Text Control 15.0 adds per-section page column support alongside existing section breaks. To remove all section breaks programmatically, iterate through SectionCollection using…
Batch Printing: How to Print Documents in One Print Job
Batch printing multiple documents as a single print job using TX Text Control relies on a .NET PrintDocument with PrintPage and QueryPageSettings events. Each page is rendered individually via the…
