Hello
All my ribbon buttons are clonable (CloneService.CanCloneToQuickAccessToolBar for them is "True"). If I call Context menu for the button, it will contain "Add to Quick Access Toolbar" item. If I click this item - button will be cloned to QAT. If I call context menu for the same ribbon button later, "Add to Quick Access Toolbar" item will be grayed, so I cannot add the same button again.
So there is some CanExecute logic for command that clones controls to QAT, that checks if this control already in QAT or not. The question is: can I impact on this logic somehow?
I need to show "Add to Quick Access Toolbar" context menu item grayed in some cases, even when the control is not actually is in QAT yet (but some other controls are in QAT, that cannot be there with current control at the same time).
Thanks in advance
All my ribbon buttons are clonable (CloneService.CanCloneToQuickAccessToolBar for them is "True"). If I call Context menu for the button, it will contain "Add to Quick Access Toolbar" item. If I click this item - button will be cloned to QAT. If I call context menu for the same ribbon button later, "Add to Quick Access Toolbar" item will be grayed, so I cannot add the same button again.
So there is some CanExecute logic for command that clones controls to QAT, that checks if this control already in QAT or not. The question is: can I impact on this logic somehow?
I need to show "Add to Quick Access Toolbar" context menu item grayed in some cases, even when the control is not actually is in QAT yet (but some other controls are in QAT, that cannot be there with current control at the same time).
Thanks in advance