Sign in Join
FPDoc Onlineexperiment

TGridColumnTitle.Color property

Member of TGridColumnTitlepublishedIn unit Grids

The background color for the column title.

Declaration

pascal
property Color: TColor read GetColor write SetColor stored IsColorStored;

Description

Color is a TColor property which contains the color used to paint the background for the column header where the title is displayed. If an explicit value has not been assigned, the value from GetDefaultColor is used in the property, and contains the FixedColor for the grid where the Column is defined.

Changing the value for the property causes the ColumnChanged method in Column to be called. This causes the collection item to be updated in the grid control, and the WidthChanged property in Column is reset.

Use the Color property in Font to control the color for the text displayed in the fixed header cell.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.