LabelControlAppearanceObject.ImageAlign Property

Gets or sets the alignment of the image within the label.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

[DefaultValue(ContentAlignment.MiddleCenter)]
[Browsable(false)]
public ContentAlignment ImageAlign { get; set; }
<DefaultValue(ContentAlignment.MiddleCenter)>
<Browsable(False)>
Public Property ImageAlign As ContentAlignment

Property Value

Type Default Description
ContentAlignment

MiddleCenter

A ContentAlignment enumeration value that specifies the alignment of the image within the label.

Remarks

The ImageAlign property specifies how the image is aligned within the label only if the LabelControl.ImageAlignToText property is set to the ImageAlignToText.None value. Otherwise, the alignment of the image is specified by the LabelControl.ImageAlignToText property.

See Also