Back to Devexpress

LabelControl.IndentBetweenImageAndText Property

windowsforms-devexpress-dot-xtraeditors-dot-labelcontrol-71aada17.md

latest1.9 KB
Original Source

LabelControl.IndentBetweenImageAndText Property

Gets or sets the indent between the image and text of the current LabelControl.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(-1)]
[DXCategory("Appearance")]
public int IndentBetweenImageAndText { get; set; }
vb
<DefaultValue(-1)>
<DXCategory("Appearance")>
Public Property IndentBetweenImageAndText As Integer

Property Value

TypeDefaultDescription
Int32-1

An Int32 value specifying the indent between the image and text of the LabelControl, in pixels.

|

Remarks

The IndentBetweenImageAndText property allows you to specify the indent between the LabelControl‘s text (LabelControl.Text) and image ( LabelControl.Appearance.Image ).

See Also

Text

ImageAlignToText

LabelControl Class

LabelControl Members

DevExpress.XtraEditors Namespace