Vcl.Grids.TDrawGrid.DefaultRowHeight

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

property DefaultRowHeight: Integer read FDefaultRowHeight write SetDefaultRowHeight default 24;

C++

__property DefaultRowHeight = {default=24};

プロパティ

種類 可視性 ソース ユニット
property published
Vcl.Grids.pas
Vcl.Grids.hpp
Vcl.Grids TDrawGrid

説明

明示的にサイズ変更されていないすべての行の高さ(ピクセル単位)を指定します。

Vcl.Grids.TDrawGrid.DefaultRowHeight は Vcl.Grids.TCustomGrid.DefaultRowHeight を継承しています。以下の内容はすべて Vcl.Grids.TCustomGrid.DefaultRowHeight を参照しています。

明示的にサイズ変更されていないすべての行の高さ(ピクセル単位)を指定します。

DefaultRowHeight プロパティを設定すると,すべての行のサイズが変わります。DefaultRowHeight が設定されると,マウスを使ったり RowHeights プロパティを設定したりしてサイズが変更されている行も DefaultRowHeight の高さに設定されます。

新しい行が RowCount プロパティを使ってグリッドに追加されるときは,DefaultRowHeight の高さの行が作られます。

関連項目