Vcl.Grids.TDrawGrid.DefaultRowHeight

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property DefaultRowHeight: Integer read FDefaultRowHeight write SetDefaultRowHeight default 24;

C++

__property DefaultRowHeight = {default=24};

Properties

Type Visibility Source Unit Parent
property published
Vcl.Grids.pas
Vcl.Grids.hpp
Vcl.Grids TDrawGrid

Description

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

Vcl.Grids.TDrawGrid.DefaultRowHeight inherits from Vcl.Grids.TCustomGrid.DefaultRowHeight. All content below this line refers to Vcl.Grids.TCustomGrid.DefaultRowHeight.

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