Tab
A newer version of this page is available. Switch to the current version.

RibbonGroup Class

An individual group within the ASPxRibbon control.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

public class RibbonGroup :
    CollectionItem
Public Class RibbonGroup
    Inherits CollectionItem

Remarks

Ribbon groups, which are represented by instances of the RibbonGroup class, can be accessed via the tab's RibbonTab.Groups property. This property returns the RibbonGroupCollection collection which allows you to add, delete and move groups within the tab.

Use the RibbonGroup.Text property to define the caption text of the group that is displayed in a group label. You can hide the group labels by setting the ASPxRibbon.ShowGroupLabels property to false.

To get access to the items the group contains, use the RibbonGroup.Items property.

When a group has insufficient space to display its items, a group expand button is displayed instead. You can specify the button image (RibbonGroup.Image) and button style settings (RibbonStyles.GroupExpandButton). A click on the button invokes a group popup window, whose style settings are accessed by the RibbonStyles.GroupPopup property.

Note that the RibbonGroup class has a client-side equivalent - an object of the ASPxClientRibbonGroup type.

See Also