Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

IFileData Interface

Declares members implemented by the classes that can be represented in a UI using the FileDataPropertyEditor.

Namespace: DevExpress.Persistent.Base

Assembly: DevExpress.Persistent.Base.v20.2.dll


public interface IFileData


You can create your own IFileData implementation when required. To see an example, refer to the FileData class sources at %PROGRAMFILES(x86)%\DevExpress 20.2\Components\%PROGRAMFILES(x86)%\DevExpress 20.2\.NET Core Desktop Libraries\Sources\DevExpress.Persistent\DevExpress.Persistent.BaseImpl\FileData.cs, or to the following articles: How to: Store file attachments in the file system instead of the database | How to: Store file attachments in Dropbox instead of the database(video).

When the File Attachments module is added to the application, business object properties of the IFileData type are visualized using the FileDataPropertyEditor in WinForms and ASP.NET applications.






If you want to access the full path to a file, implement the ISupportFullName interface in your class in addition to IFileData.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the IFileData interface.


The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also