Back to Devexpress

DXFileDialog.RestoreDirectory Property

wpf-devexpress-dot-xpf-dot-dialogs-dot-dxfiledialog-8fbc7d94.md

latest1.7 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Dialogs

Declaration

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

Property Value

TypeDescription
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.

See Also

DXFileDialog Class

DXFileDialog Members

DevExpress.Xpf.Dialogs Namespace