windowsforms-devexpress-dot-utils-dot-tooltipitem-25c0bfc0.md
Gets or sets the image displayed in this tooltip region. This property is obsolete. Use the ToolTipItem.ImageOptions.Image property instead.
Namespace : DevExpress.Utils
Assembly : DevExpress.Utils.v25.2.dll
NuGet Packages : DevExpress.Utils, DevExpress.Wpf.Core
[Browsable(false)]
[DefaultValue(null)]
[EditorBrowsable(EditorBrowsableState.Never)]
public Image Image { get; set; }
<Browsable(False)>
<EditorBrowsable(EditorBrowsableState.Never)>
<DefaultValue(Nothing)>
Public Property Image As Image
| Type | Default | Description |
|---|---|---|
| Image | null |
An Image object that specifies an image displayed in this tooltip region.
|
ToolTipItem.ImageOptions allow you to display the image in the item:
You can also use the ToolTipItem.Icon property to specify the item’s icon. The Icon property has priority over ImageOptions.
The following code snippets (auto-collected from DevExpress Examples) contain references to the Image 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-grid-display-popup-image-on-mouse-hover/CS/Form1.cs#L38
ToolTipItem item1 = new ToolTipItem();
item1.Image = im;
sTooltip1.Items.Add(item1);
winforms-checked-combobox-show-tooltips-for-selected-items/CS/WindowsApplication3/Form1.cs#L91
ToolTipItem itemImage = new ToolTipItem();
itemImage.Image = GetToolTipImage(row, itemImage);
superToolTip.Items.Add(itemDecsr);
ToolTipItem item1 = new ToolTipItem();
item1.Image = ThumbnailHelper.FormToBitmap((page as XtraMdiTabPage).MdiChild, new Size(200, 200));
superTip.Items.Add(item1);
winforms-grid-display-popup-image-on-mouse-hover/VB/Form1.vb#L36
Dim item1 As ToolTipItem = New ToolTipItem()
item1.Image = im
sTooltip1.Items.Add(item1)
winforms-scheduler-display-custom-tooltips/VB/Form1.vb#L30
ttiBody.Text = String.Format("Subject: {0} " & Microsoft.VisualBasic.Constants.vbLf & "Description: {1}" & Microsoft.VisualBasic.Constants.vbLf & "Price: {2}", apt.Subject, apt.Description, apt.CustomFields("cfPrice"))
ttiBody.Image = SystemIcons.Information.ToBitmap()
ttiFooter.AllowHtmlText = DefaultBoolean.True
winforms-checked-combobox-show-tooltips-for-selected-items/VB/WindowsApplication3/Form1.vb#L82
Dim itemImage As New ToolTipItem()
itemImage.Image = GetToolTipImage(row, itemImage)
superToolTip.Items.Add(itemDecsr)
Dim item1 As ToolTipItem = New ToolTipItem()
item1.Image = FormToBitmap(TryCast(page, XtraMdiTabPage).MdiChild, New Size(200, 200))
superTip.Items.Add(item1)
See Also