Skip to main content

TcxCustomImageComboBoxProperties.ImageAlign Property

Specifies the image alignment when item descriptions are visible.

Declaration

property ImageAlign: TcxImageAlign read; write; default iaLeft;

Property Value

Type Default Description
TcxImageAlign iaLeft

The active image alignment option.

Remarks

Set the ImageAlign property to iaRight or iaLeft to position images at the drop-down button or at the opposite border of the image combo box editor.

Note

If the image combo box editor uses a right-to-left layout[1], the drop-down button is displayed at the left border.

Limitations

If an image combo box item[2] or the editor displays no description[3], the corresponding image is centered and the ImageAlign property value has no effect.

Default Value

The ImageAlign property’s default value is iaLeft.

Footnotes
  1. If the editor’s BiDiMode property is set to bdRightToLeft.

  2. If the item’s Description property value is an empty string (default).

  3. If an item without a description is selected or the ShowDescriptions property is set to False.

See Also