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

RibbonPageGroup.ImageIndex Property

Gets or sets the index of the image within the image collection that is displayed within the group when it's in a collapsed state.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v19.2.dll


public virtual int ImageIndex { get; set; }

Property Value

Type Default Description


An integer that specifies the index of the image in the image collection.


A Ribbon group is automatically collapsed if there is not enough space to display its links. A collapsed group is represented by its caption which is specified by the RibbonPageGroup.Text property and an image. The following screenshot shows two collapsed groups (File and Edit):


To specify the image to display within a group when it's in a collapsed state use one of the following methods:

The RibbonPageGroup.Glyph property has a higher priority than the ImageIndex property. So if images are specified via both the RibbonPageGroup.Glyph and RibbonPageGroup.ImageIndex properties, the image assigned to the RibbonPageGroup.Glyph property will be used.

See Also