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

# TCustomListView.Destroy

Destructor for the class instance.

## Declaration

Source position: comctrls.pp line 1625

`public destructor TCustomListView.Destroy; override;`

## Description

Destroy is the destructor for TCustomListView. It frees the Canvas, and calls the inherited Destroy method to free resources allocated in the TWinControl ancestor. It then frees resources allocated in TCustomListView like IconOptions, Items, Columns, as well as internal resources for the multi-selection list and the owner data item.

## See also

TCustomListView.Columns |  | Collection with the column definitions for the list view control (size, alignment, image index, etc.).
TCustomListView.IconOptions |  | Options for layouts, which show icons. Sets arrangement of icons, text-wrapping state.
TCustomListView.Items |  | Collection of list items displayed on the list view control.
TWinControl.Destroy |  | Destructor for the class instance.
TComponent.Destroy