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

# TCustomShellListView.ShellTreeView

Used to connect the ShellListView to a ShellTreeView.

## Declaration

Source position: shellctrls.pas line 301

`public property TCustomShellListView.ShellTreeView : TCustomShellTreeView read FShellTreeView write SetShellTreeView;`

## Description

ShellTreeView is a TCustomShellTreeView property used to connect the list view control to a shell tree view control. ShellTreeView provides access to the currently selected device, file, or directory in the local file system.

Changing the value in ShellTreeView causes the Clear method to be called to refresh the list view control. The path to the Selected item in the tree view is used as the Root property in the list view. The PopulateWithRoot method is called to fill the Items in the list view control.

## See also

TCustomShellListView.Root |  | Indicates the initial directory path whose objects are displayed in the control.
TCustomShellListView.PopulateWithRoot |  | Fills the list view with file system information for the directory in Root.
TCustomShellTreeView.ShellListView |  | Connects this ShellTreeView to a ShellListView.
TShellTreeView |  | Implements a tree view control to display the files, directories and other objects (such as devices) from the local file system.
TCustomShellTreeView |  | The base class for a tree view control used to display files, directories and other objects (such as devices) from the local file system.
TCustomTreeView.Selected |  | The selected tree node in the control.
TCustomListView.Clear |  | Clears the Items for the list view.