TX Text Control Blog

Adding elements to the Ribbon QuickAccessToolbar

Björn Meyer

Blogged by Björn Meyer on December 22, 2016 and tagged with release, ribbon, windows forms.


Version X14 implements a new Ribbon Control with the typical ribbon functionality and it comes with pre-configured ribbon tabs for the most typical tasks of TX Text Control.

The Quick Access Toolbar is a customizable toolbar that contains a set of pre-defined commands and users can add additional buttons for typical common tasks.

The following code shows how to add the standard items to the toolbar:

The SetQuickAccessToolbarStandardItems method accepts an array of RibbonButtons. A RibbonButton has text which is displayed in the context menu, an icon that is rendered in the toolbar and you can attach events to it. The following screenshot shows the added button and the context menu that can be used to enable and disable the standard items:

Adding elements to the Ribbon QuickAccessToolbar
 
 
Call us: +1 704-544-7445 (United States)
 
 

Products

Support

Downloads

Corporate

Buy Now

About Text Control

Founded in 1991, Text Control is an award-winning Visual Studio Industry Partner and leading vendor of word processing and reporting components for Microsoft development technologies. The products help thousands of developers add comprehensive word processing functionality to their applications. Text Control is 100% self-owned and independent of all investor decisions. Customers benefit from these years of experience, large user-base, and at the same time, appreciate developing with a mature, reliable product.

SD Times 100SD Times 100SD Times 100SD Times 100SD Times 100SD Times 100Visual Studio 2015 Launch PartnerVisual Studio 2013 Launch PartnerVisual Studio 2012 Launch PartnerVisual Studio Partner