How to disable "Add to Quick Access Toolbar"

Ribbon for WPF Forum

Posted 10 years ago by wpf.acp
Version: 9.1.0507
Avatar
Hi,

Can you please tell me if there is a way to disable "Add to Quick Access Toolbar" menu item for specific items? I want to disable this for e.g. all ComboBox instances as they aren't suitable for a QAT at all.

Thanks!

Comments (3)

Posted 10 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Yes I believe you can set the CloneService.CanCloneToQuickAccessToolBar attached property to false to disable this.


Actipro Software Support

Posted 10 years ago by wpf.acp
Avatar
Thanks. It works almost perfectly! The menu item still appears but clicking on it won't add the control but the whole group.
Posted 10 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
In the upcoming release we updated the controls to allow context menus on disabled items, whereas in 2009.1 the context menu may bubble up to the first parent enabled control it finds (in your case a Group) if the control you click over is disable. So the next release should address this.


Actipro Software Support

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.