Skip to main content
Bar

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

BarButtonGroup Class

Represents a group of links that correspond to the bar button items.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public class BarButtonGroup :
    BarLinkContainerExItem

The following members 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.

BarButtonGroup_class

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.

#Inheritance

Object
MarshalByRefObject
Component
BarItem
BarCustomContainerItem
BarLinkContainerItem
DevExpress.XtraBars.BarLinkContainerExItem
BarButtonGroup
See Also