Skip to main content
A newer version of this page is available. .

GalleryItem.HoverImageIndex Property

Gets or sets the index of the hover image assigned to the gallery item.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v19.1.dll

Declaration

[Browsable(false)]
[DefaultValue(-1)]
[ImageList("HoverImages")]
[SmartTagProperty("Hover Image Index", "Image", 40, SmartTagActionType.RefreshAfterExecute)]
public int HoverImageIndex { get; set; }

Property Value

Type Default Description
Int32 -1

An integer which specifies the index of the item’s hover image in the collection of hover images.

Remarks

The HoverImageIndex property specifies the index of the required image in the collection of hover images. The source of hover images is specified by the BaseGallery.HoverImages property.

It’s also possible to assign a hover image to the item using the GalleryItem.HoverImage property. If images are specified via both the HoverImageIndex and HoverImage properties, the image assigned to the HoverImage property will be used.

For more information on hover images see BaseGallery.AllowHoverImages.

See Also