Vcl.Grids.TCustomGrid.RowHeights
Delphi
property RowHeights[Index: Longint]: Integer read GetRowHeights write SetRowHeights;
C++
__property int RowHeights[int Index] = {read=GetRowHeights, write=SetRowHeights};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | protected | Vcl.Grids.pas Vcl.Grids.hpp |
Vcl.Grids | TCustomGrid |
Description
Gives the height (in pixels) of all rows in the grid.
Read RowHeights to determine the height of the cells in the row specified by the Index parameter. An index of 0 refers to the first row. Set RowWidths at runtime to change the height of an individual row.
If the height of a row has not been set explicitly by resizing with the mouse, or by using the RowHeights property, its height is DefaultRowHeight.
Use the RowCount property to determine the number of entries in the RowHeights array.