DXFileDialog.FileNames Property

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

Namespace: DevExpress.Xpf.Dialogs

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

Declaration

public string[] FileNames { get; set; }
Public Property FileNames As String()

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.

Implements

DevExpress.Utils.CommonDialogs.IFileDialog.FileNames
See Also