Skip to main content

TcxCustomShellTreeView.Folders Property

Provides access to shell items that are displayed within a shell tree view.

Declaration

property Folders[AIndex: Integer]: TcxShellFolder read;

Property Value

Type
TcxShellFolder

Remarks

Use the Folders property to access shell items (folder objects and file objects) that are displayed within a shell tree view. Each shell item is represented by an instance of the TcxShellFolder class.

The shell items within the Folders property correspond to the nodes within the InnerTreeView.Items property, i.e. nodes and shell items have the same indexes by which they can be addressed. Every time a shell item is added to the shell tree view, the OnAddFolder event is raised.

Expanding a specific parent node increases the number of Folders by the number of child nodes.

Use the FolderCount property to obtain the total number of shell items that are displayed within a shell tree view.

See Also