Skip to main content

TcxImageAlign Enum

Enumerates image alignment options in an image combo box editor.

Declaration

TcxImageAlign = (
    iaLeft,
    iaRight
);

Members

Name Description Example (LTR) Example (RTL)
iaLeft

Default. Item images are aligned to the border opposite to the drop-down button’s position in the editor.

VCL Editors Library: A Near-Positioned Image in the Left-to-Right Editor Layout

VCL Editors Library: A Near-Positioned Image in the Right-to-Left Editor Layout

iaRight

Item images are aligned to the editor’s drop-down button.

VCL Editors Library: A Far-Positioned Image in the Left-to-Right Editor Layout

VCL Editors Library: A Far-Positioned Image in the Right-to-Left Editor Layout

Remarks

The position of images in an image combo box editor depends on the active image alignment option and the editor’s BiDiMode property value. If the editor does not display item descriptions or they are unspecified, item images are centered and the image alignment setting has no effect.

Direct TcxImageAlign Type Reference

The TcxCustomImageComboBoxProperties.ImageAlign property references the TcxImageAlign type.

See Also