Sign in Join
FPDoc Onlineexperiment

TGridColumn.Color property

Member of TGridColumnpublishedIn unit Grids

Color for the background on the column.

Declaration

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

Description

Color is a TColor property with the background color used when values in the grid column are drawn. If an explicit value has not been assigned for the property, the value from GetDefaultColor is used as the property value.

Changing the value for the property causes the ColumnChanged method to be called to update the collection item in its collection.

Use the Font.Color property to set the color for text drawn in the column.

Use Title.Color and Title.Font color properties to set the colors for fixed cells drawn as grid column headers.

See also

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