ToolTipItem.Image Property
Gets or sets the image displayed in the ToolTipItem object.
Namespace: DevExpress.Utils
Assembly: DevExpress.Utils.v19.2.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
Image | *null* | A System.Drawing.Image that is displayed in the tool tip. |
Remarks
The ToolTipItem.ImageOptions provides access to the following properties that allow you to specify the image displayed in the item:
- Image — a raster image. This property is equivalent to the
ToolTipItem.Image
property. - ImageIndex — an index of the image in the Images collection. These properties are equivalent to the ToolTipItem.ImageIndex and ToolTipItem.Images property.
- ImageUri — a value that specifies the image’s universal resource identifier.
- SvgImage — a vector image.
- ImageToTextDistance — the indentation of the text from the image. This property is equivalent to the ToolTipItem.ImageToTextDistance property.
- Alignment — whether the image is aligned at the left or right. This property is equivalent to the ToolTipItem.ImageAlign property.
You can also use the ToolTipItem.Icon property to specify the item’s icon. The Icon property has priority over ImageOptions.
Related GitHub Examples
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.