Back to Devexpress

ToolTipItemImageOptions.ImageKey Property

windowsforms-devexpress-dot-utils-dot-tooltipitemimageoptions-e14b3924.md

latest3.5 KB
Original Source

ToolTipItemImageOptions.ImageKey Property

Gets or sets the name of the image in the Images collection.

Namespace : DevExpress.Utils

Assembly : DevExpress.Utils.v25.2.dll

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

Declaration

csharp
[DefaultValue("")]
[DXCategory("Appearance")]
[ImageList("Images")]
public string ImageKey { get; set; }
vb
<DefaultValue("")>
<DXCategory("Appearance")>
<ImageList("Images")>
Public Property ImageKey As String

Property Value

TypeDefaultDescription
StringString.Empty

The name of the image in the Images collection.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to ImageKey
ToolTipControlInfo

.ImageOptions .ImageKey

| | ToolTipControllerShowEventArgs |

.ImageOptions .ImageKey

| | ToolTipItem |

.ImageOptions .ImageKey

|

Remarks

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.

See Also

ToolTipItemImageOptions Class

ToolTipItemImageOptions Members

DevExpress.Utils Namespace