Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2945
Change group order
posted

I'm new to using the Ribbon, so must be missing something obvious.  Once I've added groups to a tab on the ribbon, how can I change the order, so group 2 appears before group 1?  It doesn't seem possible to drag groups in the same way that you can with tools and tabs.

Thanks,
Campbell

Parents
  • 70
    Suggested Answer
    posted

    One possible way is to go to the designer.cs behind the form.  We were able to tweak the order of the AddRange() method which controls the order the groups are placed into.

    For example:

    ribbonTab2.Groups.AddRange(new Infragistics.Win.UltraWinToolbars.RibbonGroup[] {

    ribbonGroup7,

    ribbonGroup5,

    ribbonGroup6});

    Becomes:

    ribbonTab2.Groups.AddRange(new Infragistics.Win.UltraWinToolbars.RibbonGroup[] {

    ribbonGroup5,

    ribbonGroup7,

    ribbonGroup6});

     

     

Reply Children
No Data