TCustomdxPSExplorer.Root Property
Returns the explorer’s root folder.
Declaration
property Root: TdxPSExplorerFolder read;
Property Value
Type |
---|
TdxPSExplorerFolder |
Remarks
The Root property is used to obtain the explorer component’s root folder. For file-based explorers, this is the root folder specified by the RootPath property. For database-based explorers, the root is the folder item that is the parent of all other items (located at the top of the folders and reports hierarchy).
You can read the Root property for the following purposes:
To access the root folder’s settings.
To traverse through the folders and reports hierarchy (the root folder provides access to its immediate children, while each individual child allows its own children to be obtained, etc).
To pass the Root property value to a particular method (for instance, when creating an item via code and specifying its parent folder).