RibbonBar.Width = Unit.Pixel(960);
RibbonBarTab rbt = new RibbonBarTab();
RibbonBarGroup rbg = new RibbonBarGroup();
rbg.Width = Unit.Pixel(950);
RibbonBarButton rbb1 = new RibbonBarButton();
rbb1.Text = "Button1";
I want to create a RibbonBar with 960pix width, and it contains one RibbonTab named 'Tab1'. This tab contains only one RibbonGroup, I hope this group's width is little smaller than RibbonBar however much buttons the grouop contains. But the reality is the group's will automatic resize to match the total size of buttons and the upper limit of its width is 300px, button will over border of group if the group have many buttons.