ToolTipItemImageOptions.Alignment Property
Gets or sets whether the image is aligned at the left or right edge of the tooltip.
Namespace: DevExpress.Utils
Assembly: DevExpress.Utils.v19.2.dll
Declaration
[DefaultValue(ToolTipImageAlignment.Default)]
[DXCategory("Layout")]
public ToolTipImageAlignment Alignment { get; set; }
Property Value
Type | Default | Description |
---|---|---|
DevExpress.Utils.ToolTipImageAlignment | **Default** | Default or Right if the image is aligned at the right; Left if the image is aligned at the left. |
Property Paths
You can access this nested property as listed below:
Object Type | Path to Alignment |
---|---|
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