Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TCustomdxPSExplorer.Root Property

Returns the explorer’s root folder.

#Declaration

Delphi
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).

See Also