Font

Class: TEgFireGrid

property Font: TFont;

Font (family, size and style) of the text in the data cells.

Untouched, it has no effect: the cells use the active style’s font. Assigning it, or changing any of its sub-properties, makes it assigned (FontAssigned), and from then on the cells use it, on the platforms where ApplyCustomFontOnDesktop / ApplyCustomFontOnMobile allow it. Its colour is a separate property, FontColor, as FireMonkey fonts have none.

A column uses the grid’s font until its own Font is assigned. The titles have their own, TitleFont. The in-place editors always use the style’s font. The row height does not follow the font size: set RowHeight to fit it.

With shrink-to-fit (egoShrinkToFit) a cell’s text may be drawn smaller than this size, down to MinFontSize.

See Also

(C) 2026 Easygate, Lda