Back to Devexpress

ToolTipController.ImageIndex Property

windowsforms-devexpress-dot-utils-dot-tooltipcontroller-7d175166.md

latest2.1 KB
Original Source

ToolTipController.ImageIndex Property

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

Namespace : DevExpress.Utils

Assembly : DevExpress.Utils.v25.2.dll

NuGet Packages : DevExpress.Utils, DevExpress.Wpf.Core

Declaration

csharp
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public int ImageIndex { get; set; }
vb
<Browsable(False)>
<EditorBrowsable(EditorBrowsableState.Never)>
Public Property ImageIndex As Integer

Property Value

TypeDefaultDescription
Int32-1

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

|

Remarks

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 e.ImageOptions property to specify custom images and their settings.

See Also

BeforeShow

ImageList

ToolTipController Class

ToolTipController Members

DevExpress.Utils Namespace