ImageAlignment

Class: TEgFireGridColumn

property ImageAlignment: TTextAlign default TTextAlign.Trailing;

Where the icon of the column’s data cells (ImageIndex) sits: Leading (left), Trailing (right, the default) or Center. With Leading or Trailing the text keeps clear of the icon; with Center the icon is drawn over the text, for a column made only of icons. The icon is always centred vertically.

An OnBeforeDrawCell handler can change it for one cell.

See Also

(C) 2026 Easygate, Lda