Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ImageLocation Enum

In This Article

Enumerates possible locations for an image within a control.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public enum ImageLocation

#Members

Name Description
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