[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Grids' (#lcl)

TGridColumn.Color

Color for the background on the column.

Declaration

Source position: grids.pas line 613

published property TGridColumn.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

TGridColumn.Font

  

The font used for text displayed in the column.

TGridColumn.Title

  

Contains the attributes for the title in the fixed header for the column.

TGridColumnTitle.Color

  

The background color for the column title.

TGridColumnTitle.Font

  

Contains the typeface and text attributes for the Caption displayed in the column title.

TCollectionItem

TFont.Color

  

Color used to render text using the font.


Version 4.0 Generated 2025-05-03 Home