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

TdxPSFileBasedExplorer.CanGoToUpOneLevel Method

Determines whether the explorer can change its root path to make it one level higher.

#Declaration

Delphi
function CanGoToUpOneLevel: Boolean; virtual;

#Returns

Type
Boolean

#Remarks

The file based explorer component enables end-users to change the root folder at runtime using the Up One Level command available via the main and context menus. The CanGoToUpOneLevel method determines whether the corresponding menu items are enabled, additionally, it determines whether the GoToUpOneLevel method will be in effect. This method can be used to switch the explorer one level higher via code.

The CanGoToUpOneLevel method returns True if the current root path is not a volume. The current root path is specified by the RootPath property.

See Also