Vcl.ComCtrls.TListColumn.Width

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Width: TWidth read GetWidth write SetWidth stored IsWidthStored default 50;

C++

__property TWidth Width = {read=GetWidth, write=SetWidth, stored=IsWidthStored, default=50};

Properties

Type Visibility Source Unit Parent
property published
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TListColumn

Description

Specifies the width of the column.

The Width property determines the default width of the column, in pixels. List columns can be resized at run time by dragging their borders.

Setting Width to the value -1 forces TListColumn to automatically resize the border of the list column, so that all the content is shown.

Setting Width to the value -2 forces TListColumn to automatically resize the border of the list column to fit the column's caption.

See Also

Code Examples