ToolTipItemImageOptions.ImageToTextDistance Property
Gets or sets the indentation of the text from the image.
Namespace: DevExpress.Utils
Assembly: DevExpress.Utils.v19.2.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
Int32 | 14 | An integer value that specifies the indentation of the text from the image. |
Property Paths
You can access this nested property as listed below:
Object Type | Path to ImageToTextDistance |
---|---|
ToolTipItem |
|
ToolTipTitleItem |
|
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