Back to Devexpress

EditorButton.ImageToTextAlignment Property

windowsforms-devexpress-dot-xtraeditors-dot-controls-dot-editorbutton-46f0c9bc.md

latest3.8 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[Browsable(false)]
[DefaultValue(ImageAlignToText.None)]
[EditorBrowsable(EditorBrowsableState.Never)]
public ImageAlignToText ImageToTextAlignment { get; set; }
vb
<DefaultValue(ImageAlignToText.None)>
<Browsable(False)>
<EditorBrowsable(EditorBrowsableState.Never)>
Public Property ImageToTextAlignment As ImageAlignToText

Property Value

TypeDefault
ImageAlignToTextNone

Available values:

Show 13 items

NameDescription
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.

| | 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.

|

See Also

EditorButton Class

EditorButton Members

DevExpress.XtraEditors.Controls Namespace