Hi!
I need to hide the first line of the Ribbon.
(The line with the QuickAccessToolbar)
This line makes no sense inside a browser...
Is this possible?
hi....
<Style TargetType="ig:QuickAccessToolbar">
<Setter Property="Template" Value="{x:Null}" />
</Style>
if i use this QuickAccessToolbar(QAT) will disable for all buttons. I want to disable only for selected button... how can i do?
I think we are looking to disable the title bar - I actually tried something similar, in the Office2010Blue.xamRibbonGeneric.xaml file, I changed the Height and the MinHeight to 10 - this will allow some space when tabs are highlighted red if they are active. (This is Line 85, in the xaml file)
<
RowDefinition Height="10" MinHeight="10"/>
The only problem I'm seeing is that when a tab is highlighted in red, then it shifts the whole ribbon down. Do you know if there would be an easy way to fix that?
THanks
Hello,The easiest way I could think of to get rid of the QuickAccessToolBar is to set its Template property to null with a style like this one:
<ig:XamRibbon.Resources>
</ig:XamRibbon.Resources>
In order to tweak the templates I can suggest you start by getting a copy of the original templates from the DefaultStyles folder. There you can get the original template for the XamRibbon and remove the reserved space for the QuickAccessToolbar from its visual tree.
I’d just to point out that there are no properties for setting this because it is not supported by XamRibbon in order to fir the Microsoft ribbon guidelines and any such changes are custom implementation for which we have not performed any testing whatsoever.
Please let me know if you require any further assistance on the matter.
Sincerely,
Petar Monov
Developer Support Engineer
Infragistics Bulgaria
www.infragistics.com/support
Is there any examples of how to do this? We need to do the same thing.
Thanks.
Hi,
Sorry for the delayed response. Actually, the title bar is a "Must have" feature, according to MSFT's design guidelines. You can still hide it by tweaking the control template, but you won't comply with the design guidelines any more.
Hope this helps,