Skip to main content
A newer version of this page is available. .

ImageAlignToText Enum

Lists the values that specify how an image is aligned relative to the label’s text.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v19.1.dll

Declaration

public enum ImageAlignToText

Members

Name Description
None

The image isn’t aligned relative to the label’s text. The alignment of the image is specified by the label’s appearance settings (LabelControlAppearanceObject.ImageAlign).

LeftTop

The image is horizontally aligned on the left and vertically aligned at the top.

ImageAlignment_LeftTop

LeftCenter

The image is horizontally aligned on the left and vertically aligned at the center.

ImageAlignment_LeftCenter

LeftBottom

The image is horizontally aligned on the left and vertically aligned at the bottom.

ImageAlignment_LeftBottom

RightTop

The image is horizontally aligned on the right and vertically aligned at the top.

ImageAlignment_RightTop

RightCenter

The image is horizontally aligned on the right and vertically aligned at the center.

ImageAlignment_RightCenter

RightBottom

The image is horizontally aligned on the right and vertically aligned at the bottom.

ImageAlignment_RightBottom

TopLeft

The image is vertically aligned at the top, and horizontally aligned on the left.

ImageAlignment_TopLeft

TopCenter

The image is vertically aligned at the top, and horizontally aligned at the center.

ImageAlignment_TopCenter

TopRight

The image is vertically aligned at the top, and horizontally aligned on the right.

ImageAlignment_TopRight

BottomLeft

The image is vertically aligned at the bottom, and horizontally aligned on the left.

ImageAlignment_BottomLeft

BottomCenter

The image is vertically aligned at the bottom, and horizontally aligned at the center.

ImageAlignment_BottomCenter

BottomRight

The image is vertically aligned at the bottom, and horizontally aligned on the right.

ImageAlignment_BottomRight

Related API Members

The following properties accept/return ImageAlignToText values:

Remarks

The values listed by this enumeration are used to set the LabelControl.ImageAlignToText property.

See Also