Skip to main content

DXFileDialog.FileNames Property

Gets the file names of all selected files in the file dialog.

Namespace: DevExpress.Xpf.Dialogs

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

NuGet Package: DevExpress.Wpf.Dialogs

Declaration

public string[] FileNames { get; set; }

Property Value

Type Description
String[]

An array of strings, containing the file names of all selected files in the file dialog.

Remarks

Each file name includes both the file path and the extension. If no files are selected, this property returns an empty array.

The FileNames property is not in effect for the DXSaveFileDialog class.

Use the FileNames property with the DXOpenFileDialog dialog when the DXOpenFileDialog.Multiselect option is enabled.

See Also