GalleryItem.HoverImageIndex Property
Gets or sets the index of the hover image assigned to the gallery item.
Namespace: DevExpress.XtraBars.Ribbon
Assembly: DevExpress.XtraBars.v24.2.dll
Declaration
[Browsable(false)]
[DefaultValue(-1)]
[EditorBrowsable(EditorBrowsableState.Never)]
[ImageList("HoverImages")]
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.