DXOpenFileDialog.OpenFileDialogMode Property
In This Article
Gets or sets the mode in which the DXOpenFileDialog functions: selects files or selects folders.
Namespace: DevExpress.Xpf.Dialogs
Assembly: DevExpress.Xpf.Dialogs.v24.2.dll
NuGet Package: DevExpress.Wpf.Dialogs
#Declaration
public OpenFileDialogMode OpenFileDialogMode { get; set; }
#Property Value
Type | Description |
---|---|
Open |
One of the Open |
Available values:
Name | Description |
---|---|
Files | The DXOpen |
Folders | The DXOpen |
#Remarks
If the OpenFileDialogMode property is set to OpenFileDialogMode.Files, the DXFileDialog.FileName property returns the selected file name (including path).
If the OpenFileDialogMode property is set to OpenFileDialogMode.Folders, the DXFileDialog.FileName property returns the selected folder name (including path).
See Also