windowsforms-2493-controls-and-libraries-ribbon-bars-and-menu-ribbon-visual-elements-ribbon-page-group.md
A Ribbon Page Group is a group of bar item links within a Ribbon Page. The following image shows a sample “Home” page with five groups: File, Edit, Format, Find, and Exit.
Ribbon Page Groups are objects of the RibbonPageGroup class. The collection of groups displayed within a page is specified by the RibbonPage.Groups property. You can use this property to add, remove and access specific groups at runtime. To add groups at design time use the RibbonControl’s Designer.
For each bar item you can assign large and small icons. Large icons are used by default if there is enough space within a group. However, when the group’s region becomes smaller, large icons are automatically replaced with small icons and text is hidden if necessary. If the group’s size is reduced so it can no longer display all its links at a time, the group is collapsed (see the Format group in the image above). To prevent a page group from being collapsed, set its RibbonPageGroup.State property to Expanded.
Clicking a collapsed group’s Dropdown button invokes the popup which contains the group’s contents:
Use the RibbonPageGroup.ImageOptions property to specify an icon for the collapsed group.
See Best Practices for tips on arranging bar item links.