Adding items to QAT

Ribbon for WPF Forum

Posted 7 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 7 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 7 years ago by Kosnick - Software Engineer, Capstone Technology Corporation
Avatar

Perfect! Thank you!

The latest build of this product (v2020.1.0) was released 26 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.