Posted 11 years ago
by Kosnick
-
Software Engineer,
Capstone Technology Corporation
Version: 13.1.0581
![Avatar](https://secure.gravatar.com/avatar/76634c6b48624411f6c4f8ad5c11b4bd.jpg?s=64&d=identicon&r=g)
I have a buttton already in the Ribbon. Is there a way to programmatically add this button to the QAT?
I have a buttton already in the Ribbon. Is there a way to programmatically add this button to the QAT?
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);
Perfect! Thank you!
Please log in to a validated account to post comments.