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

ToolTipController.ImageIndex Property

Gets or sets the index of an image to be displayed within tooltips.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v19.1.dll


public int ImageIndex { get; set; }
Public Property ImageIndex As Integer

Property Value

Type Default Description


The integer value specifying the index of an image to be displayed within tooltips.


You can use the ToolTipController.ImageList property to specify the list of images that can be displayed within tooltips. The ImageIndex property specifies the index of an image within this list. If this property is set to a valid index, all tooltips will display the corresponding image.

To display different images within different tooltips, handle the ToolTipController.BeforeShow event, and use the event's ToolTipControllerShowEventArgs.ImageIndex parameter to specify the index of an image to be displayed in the tooltip being currently processed. It's also possible to specify a custom image for a tooltip directly via the event's ToolTipControllerShowEventArgs.ToolTipImage parameter.

See Also