Back to Devexpress

ToolTipControllerShowEventArgs.IconType Property

windowsforms-devexpress-dot-utils-dot-tooltipcontrollershoweventargs-15bf4ba4.md

latest3.3 KB
Original Source

ToolTipControllerShowEventArgs.IconType Property

Gets or sets the predefined icon to display in the tooltip.

Namespace : DevExpress.Utils

Assembly : DevExpress.Utils.v25.2.dll

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

Declaration

csharp
public ToolTipIconType IconType { get; set; }
vb
Public Property IconType As ToolTipIconType

Property Value

TypeDescription
ToolTipIconType

A ToolTipIconType enumeration value that specifies the predefined icon to display in the tooltip.

|

Available values:

NameDescription
Application

A tooltip contains the default application icon.

| | Asterisk |

A tooltip contains the system asterisk icon.

| | Error |

A tooltip contains the system error icon.

| | Exclamation |

A tooltip contains the system exclamation icon.

| | Hand |

A tooltip contains the system hand icon.

| | Information |

A tooltip contains the system information icon.

| | Question |

A tooltip contains the system question icon.

| | Warning |

A tooltip contains the system warning icon.

| | WindLogo |

A tooltip contains the Windows logo icon.

| | None |

A tooltip contains no predefined icon.

|

Remarks

Use the property to specify the predefined icon to display in the tooltip. The size of the icon is determined by the ToolTipControllerShowEventArgs.IconSize property.

Use the e.ImageOptions property to display custom tooltip images and specify their settings.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the IconType property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

winforms-scheduler-display-custom-tooltips/VB/Form1.vb#L55

vb
e.ToolTipType = ToolTipType.Standard
e.IconType = ToolTipIconType.Exclamation
e.ShowBeak = True

See Also

IconSize

ImageList

ToolTipControllerShowEventArgs Class

ToolTipControllerShowEventArgs Members

DevExpress.Utils Namespace