Class: TEgDBGridEx
property CornerImageAlignment: TAlignment default taCenter;
Positions CornerImageIndex’s
image within the corner cell (taLeftJustify,
taRightJustify, or the default taCenter).
Horizontal only - the image is always vertically centered in the cell,
regardless of this property. Has no effect when
CornerImageIndex is -1.
Meaningful whenever the image and the cell are not exactly the same
shape: the image is shrunk to fit when it is larger than the available
space (aspect ratio preserved, never enlarged past its native size - see
CornerImageIndex),
which usually leaves leftover space along one axis;
CornerImageAlignment decides where the image sits along
that axis.