Skip to main content

BarButtonGroup Class

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

Namespace: DevExpress.Xpf.Ribbon

Assembly: DevExpress.Xpf.Ribbon.v14.2.dll

#Declaration

public class BarButtonGroup :
    BarItem,
    ILinksHolder,
    IMultipleElementRegistratorSupport,
    IBarNameScopeSupport,
    IInputElement,
    ILogicalChildrenContainer

#Returned By

The BarButtonGroupLink.ButtonGroup property returns an instance of BarButtonGroup.

#Remarks

Bar item links can be combined into a BarButtonGroup. These items are displayed as a whole within a RibbonControl. Individual items never wrap when a Ribbon control is resized. For items within a BarButtonGroup, large images (BarItem.LargeGlyph) are not supported. 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.

BarItemTypes_ButtonGroups

To add items to a button group, use the BarButtonGroup.ItemLinks collection.

Bar button groups can only be displayed within a Ribbon Control.

#Examples

This example shows how to define a BarButtonGroup in XAML.

#Implements

See Also