Hi,
I want to use your RibbonGroup without using your XamRibbon because I like the default style of the RibbonGroup in combination of ButtonTools.
Every ButtonTool is shown in the single RibbonGroup but the SizeMode is not transported correctly.
I added:
igRibbon:RibbonGroup.MaximumSize="ImageAndTextLarge"
to my ButtonTool but this has no effect in the RibbonGroup. It is shown small at all. If I surround the RibbonGroup with
XamRibbon and RibbonTabItem it is shown correctly but I only want the RibbonGroup in my Xaml. Am I able to achieve this
somehow or it is necessary to have the surrounding Ribbon?
Thanks,
Hendrik
Hello Hendrik,
Thank you for your post.
I have been looking into the custom functionality that you are trying to achieve. By default the RibbonGroup is designed to be used with XamRibbon control. What I can suggest, if you would like to use the RibbonGroup separately, is to set the HorizontalAligment and VerticalAligment properties of RibbonGroup. This way you can render the group in normal size. I created a simple project in order to show you how you can implement this custom approach. You can use this project as a guideline for implementing the functionality that you are looking for.
If you would like to find the default style for RibbonGroup you can take a look at the following destination on your computer:
C:\Program Files (x86)\Infragistics\2015.2\WPF\DefaultStyles\Ribbon\RibbonGeneric.xaml
Please let me know if you require any further assistance regarding this matter.
thanks for your response. Your sample project is what I did already.
I attached your project I edited a bit. I want to have this ButtonTool to have it sized as ImageAndTextLarge.
I don't know where to look in the RibbonGeneric.xaml to set the default behavior to ImageAndTextLarge for example.
You may change this example to have the needed behavior.
After working on the functionality that you are trying to achieve and doing some research, the ability to use the RibbongGroup separately without XamRibbon has been determined to be a new product idea. You can suggest new Product Ideas for future versions (or vote for existing ones) at http://ideas.infragistics.com.
Steps to create your idea:
Log into the Infragistics Product Ideas site at http://ideas.infragistics.com (creating a new login if needed).
Navigate to the product / platform channel of your choice (e.g. WPF, Windows Forms, ASP.NET, HTML5 / Ignite UI, iOS / NucliOS, etc.)
Add your product idea and be sure to be specific and provide as much detail as possible.
Explain the context in which a feature would be used, why it is needed, why it can’t be accomplished today, and who would benefit from it. You can even add screenshots to build a stronger case. Remember that for your suggestion to be successful, you need other members of the community to vote for it. Be convincing!
Include a link to this thread in your idea so product management will be able to look back at this case.
The benefits of submitting the product idea yourself include:
Direct communication with our product management team regarding your product idea.
Notifications whenever new information regarding your idea becomes available.
Additional benefits of the Product Idea system include:
Ability to vote on your favorite product ideas to let us know which ones are the most important to you. You will have ten votes for this and can change which ideas you are voting for at any time.
Allow you to shape the future of our products by requesting new controls and products altogether.
You and other developers can discuss existing product ideas with members of our Product Management team.
The product ideas site allows you to track the progress of your ideas at any time, see how many votes it got, read comments from other developers in the community, and see if someone from the product team has additional questions for you.
Thank you for contacting Infragistics.
Hi
So there is no possiblity to change this default behavior somehow? Any alternative solutions to this issue?
I have been looking further into the functionality that you are looking for and discuss it with our development team. As I have mentioned in my previous post the RibbonGroup is designed to be used with XamRibbon control. The size you have mentioned is managed by the containing RibbonGroupPanel and if it is not hosted in the XamRibbon the size won’t be set.
Thank you for using Infragistics Components.