Skip to main content

TdxListViewFonts.SetFont(TFont,Boolean) Method

Assigns the specified font to all UI element types in the List View.

Declaration

procedure SetFont(AFont: TFont; AKeepColors: Boolean);

Parameters

Name Type Description
AFont TFont

The specified font.

AKeepColors Boolean

If False, a SetFont procedure call sets a new color to element fonts. If True, the SetFont procedure changes no font colors.

Remarks

The SetFont procedure assigns the specified font to the following properties:

Note

A SetFont procedure call adds no flags to the AssignedValues property even if values of the listed properties change.

See Also