ImageAlignToText Enum
Lists the values that specify how an image is aligned relative to the label’s text.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v18.1.dll
Declaration
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. |
LeftCenter
|
The image is horizontally aligned on the left and vertically aligned at the center. |
LeftBottom
|
The image is horizontally aligned on the left and vertically aligned at the bottom. |
RightTop
|
The image is horizontally aligned on the right and vertically aligned at the top. |
RightCenter
|
The image is horizontally aligned on the right and vertically aligned at the center. |
RightBottom
|
The image is horizontally aligned on the right and vertically aligned at the bottom. |
TopLeft
|
The image is vertically aligned at the top, and horizontally aligned on the left. |
TopCenter
|
The image is vertically aligned at the top, and horizontally aligned at the center. |
TopRight
|
The image is vertically aligned at the top, and horizontally aligned on the right. |
BottomLeft
|
The image is vertically aligned at the bottom, and horizontally aligned on the left. |
BottomCenter
|
The image is vertically aligned at the bottom, and horizontally aligned at the center. |
BottomRight
|
The image is vertically aligned at the bottom, and horizontally aligned on the right. |
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.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ImageAlignToText enum.
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.