AutoFit is a very helpful feature when working with tables. AutoFit adapts the table column width to the current content.

TX Text Control's set of methods and properties provides you everything you need to create such a feature. I have finished a fully functional sample which shows you how to realize AutoFit with TX Text Control .NET for Windows Forms.

Please have a look at the sample in our source code library:

Building a Table AutoFit feature