Skip to main content

LabelControlAppearanceObject.ImageAlign Property

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

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[Browsable(false)]
[DefaultValue(ContentAlignment.MiddleCenter)]
[EditorBrowsable(EditorBrowsableState.Never)]
public ContentAlignment ImageAlign { get; set; }

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