Adding items to QAT

Ribbon for WPF Forum

Posted 11 years ago by Kosnick - Software Engineer, Capstone Technology Corporation
Version: 13.1.0581
Avatar

I have a buttton already in the Ribbon. Is there a way to programmatically add this button to the QAT?

Comments (2)

Answer - Posted 11 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

When we do it via context menus, our code effectively does something like this:

var element = CloneService.CreateClone(elementToAddToQat) as UIElement;
if (element != null) 
	ribbon.QuickAccessToolBarItems.Add(element);


Actipro Software Support

Posted 11 years ago by Kosnick - Software Engineer, Capstone Technology Corporation
Avatar

Perfect! Thank you!

The latest build of this product (v24.1.1) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.