Skip to main content

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

NuGet Package: DevExpress.Wpf.Dialogs

Declaration

public class DXOpenFileDialogService :
    OpenFileDialogService

Remarks

The DXOpenFileDialogService provides the standard open file dialog functionality and supports DevExpress theming mechanism that allows your applications to look consistent.

When an end user changes a current directory in the DXSaveFileDialogService or DXOpenFileDialogService, the application’s current directory changes too. You can get the application’s current directory using the WPF standard GetCurrentDirectory method.

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.

Inheritance

Show 14 items
Object
DispatcherObject
DependencyObject
Freezable
Animatable
DevExpress.Mvvm.UI.Interactivity.AttachableObjectBase
DevExpress.Mvvm.UI.Interactivity.Behavior
DevExpress.Mvvm.UI.Interactivity.Behavior<FrameworkElement>
DevExpress.Mvvm.UI.ServiceBaseGeneric<FrameworkElement>
ServiceBase
DevExpress.Mvvm.UI.WindowAwareServiceBase
DevExpress.Mvvm.UI.FileDialogServiceBase
OpenFileDialogService
DXOpenFileDialogService
See Also