DXOpenFileDialog.OpenFileDialogMode Property

Gets or sets the mode in which the DXOpenFileDialog functions: selects files or selects folders.

Namespace: DevExpress.Xpf.Dialogs

Assembly: DevExpress.Xpf.Dialogs.v20.1.dll

Declaration

public OpenFileDialogMode OpenFileDialogMode { get; set; }
Public Property OpenFileDialogMode As OpenFileDialogMode

Property Value

Type Description
OpenFileDialogMode

One of the OpenFileDialogMode enumeration values.

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