Vcl.StdCtrls.TCustomListBox.ItemHeight
Delphi
property ItemHeight: Integer read GetItemHeight write SetItemHeight default 16;
C++
__property int ItemHeight = {read=GetItemHeight, write=SetItemHeight, default=16};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | protected | Vcl.StdCtrls.pas Vcl.StdCtrls.hpp |
Vcl.StdCtrls | TCustomListBox |
Description
Specifies the height in pixels of an item in an owner-draw list box.
Use ItemHeight to control the height of an item in a list box when the Style property is lbOwnerDrawFixed. The ItemHeight property can also affect the height of the list box itself. When the IntegralHeight property is true, the height of the list box is always an increment of the ItemHeight value.
If the Style property is lbStandard or lbOwnerDrawVariable, the value of ItemHeight is ignored.