[Overview][Constants][Types][Classes][Procedures and functions][Index] | Reference for unit 'StdCtrls' (#lcl)

# TCustomListBox.Style

Appearance of the list box (standard, owner-draw fixed, or owner-draw variable).

## Declaration

Source position: stdctrls.pp line 681

`public property TCustomListBox.Style : TListBoxStyle read FStyle write SetStyle default lbStandard;`

## Description

Style is a TListBoxStyle property which controls the appearance of the Items drawn in the list box control. The default value for the property is lbStandard, and causes the appearance and text height native to the widgetset to be used. When another value from TListBoxStyle is used, Items are drawn using the routine assigned to the OnDrawItem event handler.

## See also

TCustomListBox.Items |  | The list of all items defined in the control.
TCustomListBox.ItemHeight |  | The default height for an item displayed in the list.
TCustomListBox.OnDrawItem |  | Handler for painting of a list item in owner-draw mode.
TListBoxStyle |  | Determines how items are drawn in a list box control.