Back to Devexpress

ImageLocation Enum

windowsforms-devexpress-dot-xtraeditors-8a456ef2.md

latest1.7 KB
Original Source

ImageLocation Enum

Enumerates possible locations for an image within a control.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public enum ImageLocation
vb
Public Enum ImageLocation

Members

NameDescription
Default

The same as MiddleLeft.

| | TopCenter |

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

| | TopLeft |

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

| | TopRight |

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

| | MiddleCenter |

The image is centered vertically and horizontally. The control’s text is not displayed in this mode.

| | MiddleLeft |

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

| | MiddleRight |

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

| | BottomCenter |

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

| | BottomLeft |

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

| | BottomRight |

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

|

See Also

DevExpress.XtraEditors Namespace