Skip to main content

FolderBrowserDialogService.RestorePreviouslySelectedDirectory Property

Gets or sets a value indicating whether the dialog box restores the directory to the previously selected directory. This is a dependency property.

Namespace: DevExpress.Mvvm.UI

Assembly: DevExpress.Xpf.Core.v23.1.dll

NuGet Package: DevExpress.Wpf.Core


public bool RestorePreviouslySelectedDirectory { get; set; }

Property Value

Type Description

true, if the dialog box restores the current directory to the previously selected directory if a user changed the directory; otherwise, false. The default value is true.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the RestorePreviouslySelectedDirectory property.


The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also