Back to Devexpress

ToolTipItem.LeftIndent Property

windowsforms-devexpress-dot-utils-dot-tooltipitem-ff47b766.md

latest2.5 KB
Original Source

ToolTipItem.LeftIndent Property

Gets or sets the indent from the left edge of a ToolTipItem.

Namespace : DevExpress.Utils

Assembly : DevExpress.Utils.v25.2.dll

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

Declaration

csharp
[DefaultValue(0)]
[DXCategory("Layout")]
public int LeftIndent { get; set; }
vb
<DefaultValue(0)>
<DXCategory("Layout")>
Public Property LeftIndent As Integer

Property Value

TypeDefaultDescription
Int320

The indent from the left edge of a ToolTipItem, in pixels.

|

Remarks

The LeftIndent property specifies the indent of the ToolTipItem content (image and text) from the left edge of the ToolTipItem.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the LeftIndent 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.

winforms-scheduler-display-custom-tooltips/VB/Form1.vb#L35

vb
ttiFooter.Appearance.ForeColor = Color.Blue
ttiFooter.LeftIndent = 30
stt.Items.Add(ttiTitle)

See Also

Text

ImageOptions

Icon

ToolTipItem Class

ToolTipItem Members

DevExpress.Utils Namespace