Vcl.Grids.TDrawGrid.DefaultColWidth

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

Delphi

property DefaultColWidth: Integer read FDefaultColWidth write SetDefaultColWidth default 64;

C++

__property DefaultColWidth = {default=64};

プロパティ

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

説明

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

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

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

DefaultColWidth プロパティを設定すると,すべての列の幅が変わります。このプロパティが設定されると,マウスを使用するか,ColWidth プロパティを設定してサイズを変更した列にも DefaultColWidth の幅が設定されます。

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

関連項目