Vcl.Grids.TCustomGrid.DefaultColWidth
Delphi
property DefaultColWidth: Integer read FDefaultColWidth write SetDefaultColWidth default 64;
C++
__property int DefaultColWidth = {read=FDefaultColWidth, write=SetDefaultColWidth, default=64};
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
property | protected | Vcl.Grids.pas Vcl.Grids.hpp |
Vcl.Grids | TCustomGrid |
説明
明示的にサイズ変更されていないすべての列の幅(ピクセル単位)を指定します。
DefaultColWidth プロパティを設定すると,すべての列の幅が変わります。このプロパティが設定されると,マウスを使用するか,ColWidth プロパティを設定してサイズを変更した列にも DefaultColWidth の幅が設定されます。
ColCount プロパティを使って新しい列がグリッドに追加されるときは,DefaultColWidth 幅の列が作られます。