DXFileDialog.RestoreDirectory Property

Gets or sets a value indicating whether the file dialog restores the current directory to the previously selected directory before closing.

Namespace: DevExpress.Xpf.Dialogs

Assembly: DevExpress.Xpf.Dialogs.v20.1.dll

Declaration

public bool RestoreDirectory { get; set; }
Public Property RestoreDirectory As Boolean

Property Value

Type Description
Boolean

true, if the file dialog restores the current directory to the previously selected directory; otherwise, false. The default value is false.

Remarks

When an end-user changes a current directory in the DXSaveFileDialog or DXOpenFileDialog, the application's current directory changes too. The current directory's path is stored in the RestoreDirectory property. You can get the application's current directory using the WPF standard GetCurrentDirectory method.

Implements

DevExpress.Utils.CommonDialogs.IFileDialog.RestoreDirectory
See Also