Vcl.Grids.TCustomGrid.DefaultRowHeight

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property DefaultRowHeight: Integer read FDefaultRowHeight write SetDefaultRowHeight default 24;

C++

__property int DefaultRowHeight = {read=FDefaultRowHeight, write=SetDefaultRowHeight, default=24};

Properties

Type Visibility Source Unit Parent
property protected
Vcl.Grids.pas
Vcl.Grids.hpp
Vcl.Grids TCustomGrid

Description

Specifies the height (in pixels) of all rows that have not been explicitly resized.

Set DefaultRowHeight to change the size of all rows in the grid. When DefaultRowHeight is set, rows that have been resized using the mouse or by setting the RowHeights property are given the DefaultRowHeight as well.

When new rows are added to the grid using the RowCount property, they are created with a height of DefaultRowHeight.

See Also