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

ToolTipItem.Icon Property

Gets or sets the icon displayed in the ToolTipItem object.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v18.2.dll

Declaration

[DefaultValue(null)]
public Icon Icon { get; set; }

Property Value

Type Default Description
Icon *null*

An System.Drawing.Icon that is displayed in the ToolTipItem object.

Remarks

It is possible to display an image within a ToolTipItem. You can use the following properties to do this:

The Icon property has the highest priority (if an icon is assigned to the Icon property, the ToolTipItem.Image and ToolTipItem.ImageIndex are ignored). The ToolTipItem.Image property has the priority over the ToolTipItem.ImageIndex.

An icon or an image can be aligned to the left or right edge of the ToolTipItem according to the ToolTipItem.ImageAlign property.

The distance between an icon or an image and the text can be specified via the ToolTipItem.ImageToTextDistance property.

See Also