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

# TCustomGrid.RowHeights

Provides indexed access to the height for each row in the grid.

## Declaration

Source position: grids.pas line 1287

`protected property TCustomGrid.RowHeights[aRow: Integer] : Integer read GetRowHeights write SetRowHeights;`

## Description

The row is specified with the aRow parameter. The aRow parameter must fall within the valid index range of 0 to RowCount-1.

The return value of the is the height of this row, measured in pixels.

The initial height of a newly created row is specified with the DefaultRowHeight property. After that the user may redefine this value. If the Options includes the appropriate value, the row height may also be changed by the user at run-time.

## See also

TCustomGrid.RowCount |  | Number of rows in the grid.
TCustomGrid.DefaultRowHeight |  | Default row height for newly created grid rows.
TCustomGrid.Options |  | Contains the set of optional features and/or behaviors enabled for the grid control.