Hi, I just need the Quick Access Toolbar without a Ribbon or a hidden ribbon. Is that possible?
I am looking for a way to display a toolbar in the caption bar of a window. Or are there other controls which I can use to realize this?
Hello Nico,
Thank you for contacting Infragistics. There is no single property to achieve this. You can suggest new product ideas for future versions (or vote for existing ones) at <https://www.infragistics.com/community/ideas>. The simple thing to do is to just create your own toolbar, separate from the ribbon. You can remove items from the Ribbon (collapse/hide) the ApplicationMenu etc.
eg.<igRibbon:XamRibbon.ApplicationMenu><igRibbon:ApplicationMenu Visibility="Collapsed" /></igRibbon:XamRibbon.ApplicationMenu>
and remove all tabs from the XamRibbon's Tabs collection and reduce the height of the Ribbon to 24 to match that of the QAT bar.
You can go a bit further and take apart the visual tree by toggling the visibility of all the various rootVisual elements in the ribbon's adorner layer that isn't the yellow highlight. eg see below (aka the QATelement). But I am assuming you only want to hide the ribbon some times and not persist this functionality? The default styles are located at the installed location. Below you will see I used snoop to achieve what you desire by setting the Visibility property to Collapse for all the elements under rootVisual that sits next to the RibbonCaptionPanel aka QAT in the visual tree.eg. C:\Program Files (x86)\Infragistics\20xx.x\WPF\DefaultStyles\RibbonBut do this as a last resort