Back to Devexpress

DXFileDialog.FileNames Property

wpf-devexpress-dot-xpf-dot-dialogs-dot-dxfiledialog.md

latest1.5 KB
Original Source

DXFileDialog.FileNames Property

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

Namespace : DevExpress.Xpf.Dialogs

Assembly : DevExpress.Xpf.Dialogs.v25.2.dll

NuGet Package : DevExpress.Wpf.Dialogs

Declaration

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

Property Value

TypeDescription
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

DXFileDialog Class

DXFileDialog Members

DevExpress.Xpf.Dialogs Namespace