BarButtonGroup Class
Represents a group of links that correspond to the bar button items.
Namespace: DevExpress.XtraBars
Assembly: DevExpress.XtraBars.v18.1.dll
Declaration
Related API Members
The following members accept/return BarButtonGroup objects:
Remarks
Links that correspond to the bar button items can be arranged in a single group (see the image below). This group is represented by the BarButtonGroup class. Bar button groups can only be displayed within a Ribbon Control.
To create a bar button group use the RibbonBarItems.CreateButtonGroup method. The created group is automatically added to the Ribbon Control’s RibbonControl.Items collection. The collection of item links that are owned by the group can be accessed via the BarButtonGroup.ItemLinks property.
Adjacent button groups are arranged within a Ribbon Control in a different way than regular bar items. They are arranged across then down, wrapping automatically to fill the available space optimally, without gaps. To enable this layout for regular bar items, use the BarItemLink.ActAsButtonGroup properties of their links.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the BarButtonGroup class.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.