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.v24.1.dll
NuGet Package: DevExpress.Wpf.Dialogs
Declaration
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.