Skip to main content
.NET 6.0+

DevExpress v24.1 Update — Your Feedback Matters

Our What's New in v24.1 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

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.v24.1.dll

#Declaration

public interface IFileData

#Remarks

You can create your own IFileData implementation. To see an example, refer to the FileData class sources at %PROGRAMFILES%\DevExpress 24.1\Components\Sources\DevExpress.Persistent\DevExpress.Persistent.BaseImpl.EFCore\FileData.cs or see the following articles:

When the File Attachments module is added to the application, the FileDataPropertyEditor in WinForms and ASP.NET Web Forms applications is used to visualize the business object properties of the IFileData type.

WinForms:

FileDataEdit_Transparent

ASP.NET Web Forms:

FileDataEdit_FileDataPropertyEditor_Transparent

Note

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

See Also