ToolTipItem.Icon Property
Gets or sets the icon displayed in the ToolTipItem object.
Namespace: DevExpress.Utils
Assembly: DevExpress.Utils.v19.2.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
Icon | *null* | An System.Drawing.Icon that is displayed in the ToolTipItem object. |
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.
See Also