Skip to main content

BarItem.LargeImageIndex Property

Gets or sets the index of the large image which is displayed within the item’s link(s).

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v22.2.dll

NuGet Package: DevExpress.Win.Navigation


public virtual int LargeImageIndex { get; set; }

Property Value

Type Description

An integer value that specifies the zero-based index of the large image within the source collection.


The LargeImageIndex property specifies the index of a large image in the collection of large images. If you are using regular DevExpress bar controls, the source of large images is specified by the BarManager.LargeImages property. In a RibbonControl, the source of large images is specified by the RibbonControl.LargeImages property.

A large bar item image can also be specified using the BarItem.LargeGlyph property.

If both the LargeImageIndex and BarItem.LargeGlyph properties are specified, then the actual image is specified by the BarItem.LargeGlyph property. In other words, the BarItem.LargeGlyph property takes priority over the LargeImageIndex property.

If it is necessary to specify an image that corresponds to the disabled state of a link, use the BarItem.LargeGlyphDisabled or BarItem.LargeImageIndexDisabled property.

The BarItem.LargeGlyph and LargeImageIndex properties are in effect in the following cases:

See Also