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,
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,
Is there any examples of how to do this? We need to do the same thing.
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>
<Style TargetType="ig:QuickAccessToolbar">
<Setter Property="Template" Value="{x:Null}" />
</Style>
</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
Hello Shankarnag,
I am just checking, if you require any further clarification on the matter.
Hello shankarnag,
I have been looking into your last reply and I do now understand what you mean. I am wondering why this has been posted to this forum thread, since it has absolutely nothing to do with the original issue, except the mention of the QuickAccessToolbar. Nevertheless I have been looking into your requirement, however since the XamRibbon follows the MS guidelines for creating Ribbons it has been intentionally made to make all items have this option. I have also tried to look for a custom approach to workaround this, but to no avail. This is why I have submitted a new Product Idea on your behalf, so that it may appear in a future volume release of ours. I have sent your Product Idea directly to our product management team. Our product team chooses new Product Ideas for development based on popular feedback from our customer base. Infragistics continues to monitor application development for all of our products, so as trends appear in requested features, we can plan accordingly.
We value your input, and our philosophy is to enhance our toolset based on customer feedback. If your feature is chosen for development, you will be notified at that time. Your friendly ID for this Product Idea is PI13030014.
If you would like to follow up on your Product Idea at a later point, you may contact Developer Support management via email. Please include the reference number of your Product Idea in the subject and body of your email message. You can reach Developer Support management through the following email address: dsmanager@infragistics.com
Thank you for your request.
For example in my ribbon window i am using 10 buttons and for only two button i should able to add quick access toolbar and remaining button if i right click option of add quick access toolbar should disable.How can i achieve this?
I am just checking if you got this worked out, or you still require any assistance, or clarification on the matter.
I have been looking into your enquiry and cannot seem to understand what are you trying to achieve. Please note that the above suggestion is meant to get rid of the whole quick access toolbar as a part of an unsupported custom implementation for getting rid of the whole top row of the XamRibbon. Please describe this scenario: “I want to disable only for selected button” in more details, so I can continue investigating this for you.
Looking forward to hearing from you.