[Overview][Types][Classes][Procedures and functions][Index] |
Contains the tree nodes used to represent the hierarchical tree structure for the tree view control.
Source position: shellctrls.pas line 146
public property TCustomShellTreeView.Items : TTreeNodes; |
Items is a TTreeNodes property which contains the tree nodes which represent the tree structure for the control. In TCustomShellTreeView, and the TShellTreeView descendant, it is populated at run-time with TShellTreeNode instances instead of the TTreeNode type used in the ancestor class. This allows file system information to be included for the tree nodes. This occurs when the CreateNode method is called for the control, and results in TShellTreeNode being used as the TTreeNodeClass type for the derived control. An exception is raised if OnCreateNodeClass is implemented to return a type other than TShellTreeNode.
Methods which access or maintain the Items in TCustomShellTreeView always cast the node values to TShellTreeNode to access the file system-specific information.
In TCustomShellTreeView, Items is cleared and re-populated at run-time when a new value is assigned to the Root, FileSortType, or OnSortCompare properties.
|
Creates a new tree node for the shell control. |
|
|
Determines whether the specified tree view Node has child nodes. |
|
|
Adds tree nodes for file system objects found starting at the specified node / path. |
|
|
Performs actions needed when a new item is selected in the shell control. |
|
|
Returns the path (including the file name) for the file system object represented in the specified node. |
|
|
Represents tree nodes in TCustomShellTreeView / TShellTreeView. |
|
|
The container with the TTreeNode instances for the control. |
|
|
Event handler signalled to get the class reference used to create new tree nodes. |
Version 4.0 | Generated 2025-05-03 | Home |