Adding items to QAT

Ribbon for WPF Forum

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

Perfect! Thank you!

The latest build of this product (v2019.1 build 0681) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.