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

EditorButton.ImageToTextAlignment Property

This member supports the internal infrastructure, and is not intended to be used directly from your code.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v18.2.dll

Declaration

[DefaultValue(ImageAlignToText.None)]
[Browsable(false)]
public ImageAlignToText ImageToTextAlignment { get; set; }

Property Value

Type Default
ImageAlignToText **None**

Available values:

Show 13 items
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

See Also