DXOpenFileDialogService Class
Represents a dialog box that allows end-users to specify a filename for one or more files to open.
Namespace: DevExpress.Xpf.Dialogs
Assembly: DevExpress.Xpf.Dialogs.v18.2.dll
Declaration
Remarks
The DXOpenFileDialogService provides the standard open file dialog functionality and supports DevExpress theming mechanism that allows your applications to look consistent.
The DXOpenFileDialogService features:
Multiple file selection
Set the DXOpenFileDialog.Multiselect property to true to allow end-users to select multiple files at once. Use the DXFileDialog.FileNames property to access the full list of selected files.
Select files or folders
With the DXOpenFileDialog.OpenFileDialogMode property, you can select whether end-users are allowed to select files only or folders only. You can access the selected file (or folder) name using the DXFileDialog.FileName or DXFileDialog.FileNames property.
When an end-user changes a current directory in the DXSaveFileDialogService or DXOpenFileDialogService, the application’s current directory changes too. The current directory’s path is stored in the DXOpenFileDialogService property. You can get the application’s current directory using the WPF standard GetCurrentDirectory method.