TX Text Control Blog

TX Text Control .NET for Windows Forms / Infragistics ribbon bar sample released

Blogged by Björn Meyer on April 27, 2010 and tagged with ribbon.

We just released the long awaited sample that shows how to use TX Text Control .NET for Windows Forms in combination with the Infragistics ribbon bar. The project contains adapter classes for each ribbon group that can be easily re-used in other projects.

Additionally, the sample project contains a lot of sample code that shows how to implement typical tasks using TX Text Control, such as inserting sections breaks, table handling or hyperlink creation.

Feel free to use this sample implementation as a basis for your future projects based on TX Text Control .NET for Windows Forms. The following sample shows the interface of this sample:

TX Text Control .NET for Windows Forms with the Infragistics ribbon bar

The sample project implements the most typical features of TX Text Control .NET for Windows Forms for Windows Forms including ready-to-use ribbon groups for the following categories:

  • Clipboard
  • Font
  • Paragraph
  • Styles (including preview)
  • Page Setup
  • Editing
  • Pages
  • Documents
  • Tables
  • Images
  • Links
  • Header and Footer
  • Text
  • Symbols

The following screenshots show parts of the second menu item Insert.

TX Text Control .NET for Windows Forms with the Infragistics ribbon bar

TX Text Control .NET for Windows Forms with the Infragistics ribbon bar

TX Text Control .NET for Windows Forms with the Infragistics ribbon bar

TX Text Control .NET for Windows Forms with the Infragistics ribbon bar

You can read the full article and download the project sources in our Source Code Library:

Using TX Text Control with the Infragistics ribbon bar

I look forward to your comments and suggestions for future implementations.

 
 
User Contributed Note

User Contributed Note by Lello Passannanti on April 28, 2010 at 8:31:39 AM CEST

Hello Björn, I downloaded your project ribbon sample, but the images are there (see link): http://www.pattilandia.it/public/TxWithRibbon.png Kind regards Lello
User Contributed Note

User Contributed Note by Björn Meyer on April 28, 2010 at 10:08:26 AM CEST

I checked the sample again on a blank test machine and the images are part of the resources. It works in my tests. I am just wondering if any others are getting the same problem?
User Contributed Note

User Contributed Note by Lello Passannanti on April 28, 2010 at 10:26:07 AM CEST

Björn, "SharedPropsInternal" is a new Infragistics property. If you want to make your project with previous Infragistics versions you have to replace "SharedPropsInternal" with "SharedProps" property (I use Infragistics V8.1). Regards, Lello
User Contributed Note

User Contributed Note by Lello Passannanti on April 28, 2010 at 10:49:59 AM CEST

You must also change FormMain.Designer.cs (line 522) because of error with previous versions Infragistics this.ultraTrackBar1.BackColorInternal = System.Drawing.Color.FromArgb(((int)(((byte)(215)))), ((int)(((byte)(230)))), ((int)(((byte)(249))))); BackColorInternal is a new property. Regards, Lello
User Contributed Note

User Contributed Note by Björn Meyer on April 28, 2010 at 10:52:50 AM CEST

Just a quick note: This sample has been made for Infragistics NetAdvantage 2010. No other version has been tested.
User Contributed Note

User Contributed Note by Lello Passannanti on April 28, 2010 at 10:58:43 AM CEST

With two small changes you can make the project compatible with previous versions of Infragistics. Why not? Regards. Lello
User Contributed Note

User Contributed Note by Pat Pfeifer on June 18, 2010 at 1:45:16 AM CEST

I own the TX TextControl Professional, and I get an Unhandled Exception when I run the sample, saying "This feature is not available in the TX Text Control Standard or Professional version. The TX Text Control Enterpriese version must be installed." Please don't tell me I have to buy the Enterprise edition for this to work. --Pat
User Contributed Note

User Contributed Note by Pat Pfeifer on June 18, 2010 at 1:49:39 AM CEST

Is the Infragistics spell checker compatible with the TX Text Control?
 

Products

Support

Downloads

Corporate

Buy Now