TX Text Control X9 Preview: Out-of-the-Box Context Menus
One of the new helpful features in the next version X9 of TX Text Control are the ready-to-use contextual menus we are currently working on. These dynamic menus are available by default and usable without any additional programming. The following steps are required to create a fully-featured word processing application using TX Text Control that gives you full access to these new context menus - without writing a single line of code. Open Visual Studio and create a new project. Select…

One of the new helpful features in the next version X9 of TX Text Control are the ready-to-use contextual menus we are currently working on. These dynamic menus are available by default and usable without any additional programming.
The following steps are required to create a fully-featured word processing application using TX Text Control that gives you full access to these new context menus - without writing a single line of code.
-
Open Visual Studio and create a new project.
Select Windows Forms Application from the Windows templates, choose a name, select a location and confirm with OK.
-
Find TextControl in the toolbox and drag and drop an instance onto the form.
Visit the SmartTag in the upper right corner of TextControl and add a button bar, a status bar, a ruler bar and a vertical ruler using the available Wizards. Finally, arrange and connect the controls by clicking Arrange Controls Automatically.
-
Start the application.
You can immediately start typing text, use the button bar to do some formatting or to zoom using the status bar. Here is the new part: You can right-click everywhere in the document which opens contextual menus dependent on whether the mouse is over normal text, header or footer area or in a table.
Context Menus for Page Settings, Tables, Images and Text Frames
You can use the context menu to insert headers and footers or to adjust the page layout or borders:

The following screenshot shows a context menu that is shown when no text is selected:

When the input position is inside a table, the following context menu options are available:

There are many more menu options available for all kind of situations in a document. The ready-to-use context menus contain pre-defined icons that matches the icons in our Ribbon demo. You will have access to more than 350 different icons that can be used in your applications.
The context menus are fully customizable and you can add, remove or change menu items from the context menus.
This is just another great new feature of TX Text Control X9. Stay tuned for more!
Related Posts
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…
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…