Back to Devexpress

IModelFileTypeFilters Interface

expressappframework-devexpress-dot-expressapp-dot-fileattachments-dot-win-032148f3.md

latest3.4 KB
Original Source

IModelFileTypeFilters Interface

The FilteTypeFilters node defines file type filters (see FileTypeFilterAttribute) for properties whose type implements the DevExpress.Persistent.Base.IFileData interface or inherits from the DevExpress.Persistent.BaseImpl.FileAttachmentBase class.

Namespace : DevExpress.ExpressApp.FileAttachments.Win

Assembly : DevExpress.ExpressApp.FileAttachment.Win.v25.2.dll

NuGet Package : DevExpress.ExpressApp.FileAttachment.Win

Declaration

csharp
[ModelNodesGenerator(typeof(FileTypeFiltersNodesGenerator))]
public interface IModelFileTypeFilters :
    IModelNode,
    IModelList<IModelFileTypeFilter>,
    IList<IModelFileTypeFilter>,
    ICollection<IModelFileTypeFilter>,
    IEnumerable<IModelFileTypeFilter>,
    IEnumerable
vb
<ModelNodesGenerator(GetType(FileTypeFiltersNodesGenerator))>
Public Interface IModelFileTypeFilters
    Inherits IModelNode,
             IModelList(Of IModelFileTypeFilter),
             IList(Of IModelFileTypeFilter),
             ICollection(Of IModelFileTypeFilter),
             IEnumerable(Of IModelFileTypeFilter),
             IEnumerable

The following members return IModelFileTypeFilters objects:

Remarks

Via the context menu’s Add FileTypeFilters menu item, you can add file type filters for an appropriate property. It will be supported in your application, as well as file type filters defined in code.

This interface is a part of the Application Model infrastructure. You do not need to implement this interface in most cases.

The IModelFileTypeFilters node represents a list of the IModelFileTypeFilter nodes.

To customize the default content of this node, implement a Generator Updater for the FileTypeFiltersNodesGenerator Nodes Generator.

See Also

IModelFileTypeFilters Members

Application Model (UI Settings Storage)

How the XAF Application Model Works

File Attachments (Store Custom Files)

DevExpress.ExpressApp.FileAttachments.Win Namespace