Greetings,
I have quite a number of ContextualTabs in my application. I would like to disallow any item on a ContextaulTab from being added to the QAT. I've played with setting ribbon:CloneService.CanCloneToQuickAccessToolBar = false; but I can't seem to be able to do this on a global scale. I have way to many Contextual Tabs to do this on an individual basis.
It is possible to provide a default style for ribbon buttons, based on a particular Actipro theme? (I could then use this default style for all my contextual tabs with the clone set to false, and simply renable the "CanCloneToQuickAccessToolBar" on my main ribbon items).
I think I might be just overriding the default styles I have created in my resources section . I am using markup like the following:...however in my App OnStartup, I am using the following:
P.s. I also want to disable all "Groups", "SplitButtons" and other controls from being added to the QAT. I am hoping I could reuse the logic for those type of controls.
Thanks,
-Brad
I have quite a number of ContextualTabs in my application. I would like to disallow any item on a ContextaulTab from being added to the QAT. I've played with setting ribbon:CloneService.CanCloneToQuickAccessToolBar = false; but I can't seem to be able to do this on a global scale. I have way to many Contextual Tabs to do this on an individual basis.
It is possible to provide a default style for ribbon buttons, based on a particular Actipro theme? (I could then use this default style for all my contextual tabs with the clone set to false, and simply renable the "CanCloneToQuickAccessToolBar" on my main ribbon items).
I think I might be just overriding the default styles I have created in my resources section . I am using markup like the following:
<Style x:Key="NoQATRibbonButton" TargetType="{x:Type rib:Button}">
<Setter Property="rib:CloneService.CanCloneToQuickAccessToolBar" Value="False" />
</Style>
...
<Style TargetType="{x:Type rib:Button}" BasedOn="{StaticResource NoQATRibbonButton}" />
ActiproSoftware.Windows.Themes.ThemeManager.CurrentTheme = CommonThemeName.Office2007Black.ToString();
Thanks,
-Brad