I am working with the xamRibbon control (version 10.3) under Windows 7. I understand that the xamRibbon was designed to replicate the Office ribbon controls, but wondered if it was possible to deviate from that in some specific areas.
1. Can the RibbonTabItems be placed centrally, rather than left aligned?
2. Can the RibbonTabItems be restyled? I would like to move away from the "tab" shape and just use rectangular buttons with black borders.
Any input would be greatly appreciated.
I have been looking into your requirement and usually the XamRibbon is not meant for retemplating, since we follow a strict set of Microsoft guidelines in order to have an actual ribbon. Some of the features are even controlled solely through code so that they are persistent. Nevertheless you can get a copy of the Ribbon's XamTabControl Style from the DefaultStyles folder (C:\Program Files (x86)\Infragistics\NetAdvantage 2011.1\WPF\DefaultStyles\Ribbon\RibbonGeneric.xaml) and try and modify it to your liking in your sample. I cannot say whether you will be able to get the desired behavior, as the XamRibbon is not meant for retemplating, however I could always try and help you out if you need any help along the way.
Please let me know if you require any further clarifications on the matter.
Thank you for your response. We commissioned a heuristic analysis of our application by a 3rd party consultancy and these requests formed part of their recommendations. I, on the other hand, am of the same view as yourself. The ribbon design conventions are there for a good reason and to deviate from them is a bad idea. This view is now prevailing at our company and so I no longer need to restyle the ribbon as requested.
Slightly annoyingly, I had already retemplated the xamTab control hosted within the xamRibbon to allow centralised ribbon tab headers and ribbon groups. I based my control template on the RibbonGeneric.xaml file as you suggested. So this approach works for that specific requirement. Although, I no longer need it.
Thank you again for taking the time to consider my question.