Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DXFileDialog.FileNames Property

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

Namespace: DevExpress.Xpf.Dialogs

Assembly: DevExpress.Xpf.Dialogs.v24.2.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