Hi,
I have one ribbonTab in the UltraToolbarsManager. Inside the ribbonTab are four RibbonGroups. How can I right justify the last two ribbonGroups with the first two ribbonGroups left justified?
ribbon1 ribbon2(left justified) ribbon3 ribbon4 (this is right justified)
One way to accomplish this is to set the LayoutDirection of the groups to Horizontal and then set the LayoutAlignment of the groups to Near for left justified and Far for right justified.
For more information about these properties please see the following articles in the Infragistics documentation:
<http://help.infragistics.com/Help/NetAdvantage/WinForms/2009.1/CLR2.0/html/Infragistics2.Win.UltraWinToolbars.v9.1~Infragistics.Win.UltraWinToolbars.RibbonGroup~LayoutAlignment.html>
<http://help.infragistics.com/Help/NetAdvantage/WinForms/2009.1/CLR2.0/html/Infragistics2.Win.UltraWinToolbars.v9.1~Infragistics.Win.UltraWinToolbars.RibbonGroupLayoutAlignment.html>
<http://help.infragistics.com/Help/NetAdvantage/WinForms/2009.1/CLR2.0/html/Infragistics2.Win.UltraWinToolbars.v9.1~Infragistics.Win.UltraWinToolbars.RibbonGroupToolLayoutDirection.html>
Does this solution still work in WinToolbars.v10.2?
I've tried it, but I don't get the desired results.
Also, the posted links don't work anymore.
Hello sch,
This is a limitation because of the Microsoft UX Interaction Guidelines for Ribbons: http://msdn.microsoft.com/en-us/library/windows/desktop/cc872782.aspx.
Despite that, I could log a new product idea for you, if you like.
Well, if it's part of Microsoft's guidelines, who am I to argue.
What I've done to get around this is to create a new tool called "blank" which has no image and no Caption and set it's Visible to False. I've then created a new group, and added as many of these "blank" tools as needed. This allows me to set as much space as I need. It's not perfect, but it will do.
One thing I don't know how to do is to stop the highlighting of the group when the mouse hovers over this "blank" group. What properties do I have to set in order to make the whole group be unresponsive.
Thanks.
I just wanted to know if you were able to solve your issue based on my suggestions or you still need help? Just let me know.
Thank you.
Hristo
Sorry I didn't follow through. It's been really busy at my office recently and I haven't gotten around to it.
I quickly looked at the material and concluded that it would take me some time to analyze it and implement it, so I put it aside for now. When I get around to it I will let you know.
In the meantime, let's assume it solves the problem. Thanks a ton for your efforts.
Hello,
Thank you for your feedback.
Please do not hesitate to contact with us if you have any further questions.