Back to Devexpress

ToolTipItemImageOptions.Alignment Property

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

latest3.4 KB
Original Source

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.v25.2.dll

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

Declaration

csharp
[DefaultValue(ToolTipImageAlignment.Default)]
[DXCategory("Layout")]
public ToolTipImageAlignment Alignment { get; set; }
vb
<DefaultValue(ToolTipImageAlignment.Default)>
<DXCategory("Layout")>
Public Property Alignment As ToolTipImageAlignment

Property Value

TypeDefaultDescription
DevExpress.Utils.ToolTipImageAlignmentDefault

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 TypePath to Alignment
ToolTipControlInfo

.ImageOptions .Alignment

| | ToolTipControllerShowEventArgs |

.ImageOptions .Alignment

| | ToolTipItem |

.ImageOptions .Alignment

|

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