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

# TGridColumnTitle.IsDefault

Returns True if the column title uses the default property values.

## Declaration

Source position: grids.pas line 499

`public function TGridColumnTitle.IsDefault: Boolean;`

## Function result

True if the column title uses the default property values.

## Description

IsDefault is a Boolean function used to determine if the column title uses the default values assigned when the class instance was created. The return value is True when all of the following conditions are met:

- Alignment is Nil (unassigned).
- Caption is Nil (unassigned).
- Color is Nil (unassigned).
- Layout is Nil (unassigned).
- ImageIndex is 0 (zero).
- ImageLayout is blGlyphRight.
- IsDefaultFont returns True.

IsDefault is when the columns for the parent grid are streamed using the LCL component streaming mechanism. Columns which contain default values (including the title) are not written during component streaming.

## See also

TGridColumn.IsDefault |  | Indicates if default layout settings are used for the grid column.
TGridColumn.Title |  | Contains the attributes for the title in the fixed header for the column.
TGridColumns |  | Collection used to store column definitions for a grid control.
TCustomGrid.Columns |  | Definitions for the columns displayed the grid.