Skip to main content
A newer version of this page is available. .

IOpenFileDialogService.File Property

Gets an object specifying the file selected in the dialog box.

Namespace: DevExpress.Mvvm

Assembly: DevExpress.Mvvm.v20.2.dll

NuGet Packages: DevExpress.Mvvm, DevExpress.Uwp.Controls, DevExpress.WindowsDesktop.Mvvm

Declaration

IFileInfo File { get; }

Property Value

Type Description
IFileInfo

A FileInfo implementation that specifies the file selected in the dialog box.

Remarks

Note

The OpenFileDialogService uses its own FileInfoWrapper class implementing the IFileInfo interface to represent the selected file(s). This class provides the capabilities of the standard FileInfo to work with objects of the FileStream type.

See Also