When ribbon doesn't have enough place to show all pages and AllowCollapse is set to true for RibbonPageGroup, groups are collapsed starting from the most left group.
The question is: Is there a way to change pages collapse order? I mean to collapse most right groups at first.
WPF Ribbon control pages collapse order
Answers approved by DevExpress Support
Hello Vladimir,
RibbonPageGroups are collapsed starting from the widest group. To achieve your goal, handle the RibbonControl.SizeChanged event and set the RibbonPageGroupControl.IsCollapsed property as required.
Please try this solution and let me know whether or not it meets your requirements.
I am looking forward to your response.
Thanks,
Andrew
I have created a small example to show this approach. Please take a look at the attachment.
Thanks,
Andrew
You are welcome. I am happy to hear that my assistance was helpful. Thank you for keeping me informed.
Andrew.