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

# TIconOptions

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Contains text wrapping and icon layout settings for a list view control.

## Declaration

Source position: comctrls.pp line 993

`type TIconOptions = class(TPersistent)`
`protected`
`procedure AssignTo(); override;` |  | Assign values from the class instance to the specified persistent object.
`function GetOwner; override;` |  | Gets the owner of the class instance.
`public`
`constructor Create();` |  | Constructor for the class instance.
`published`
`property Arrangement: TIconArrangement; [rw]` |  | Indicates the icon position relative to the caption in a list item.
`property AutoArrange: Boolean; [rw]` |  | Indicates whether icons in a list view can be automatically arranged.
`property WrapText: Boolean; [rw]` |  | Indicates if the caption for a list item can wrap into multiple lines.
`end;`

## Inheritance

`TIconOptions` |  | Contains text wrapping and icon layout settings for a list view control.
`TPersistent`
?
`TObject`

## Description

TIconOptions is a TPersistent descendant which represents the text wrapping and icon layout settings in the IconOptions property in TCustomListView.

## See also

TCustomListView.IconOptions |  | Options for layouts, which show icons. Sets arrangement of icons, text-wrapping state.