Skip to main content
.NET 8.0+

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

IModelImageSources Interface

The ImageSources node is used by the system when it loads images. In this node, you can specify your image sources, and set their loading order.

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

[ImageName("ModelEditor_ImageSources")]
[ModelNodesGenerator(typeof(ImageSourceNodesGenerator))]
public interface IModelImageSources :
    IModelNode,
    IModelList<IModelImageSource>,
    IList<IModelImageSource>,
    ICollection<IModelImageSource>,
    IEnumerable<IModelImageSource>,
    IEnumerable

The following members return IModelImageSources objects:

#Remarks

For information on loading images, refer to the Add and Replace Icons topic.

Use the Add | FileImageSource or Add | AssemblyResourceImageSource menu item of this node’s context menu to add a new image source. Specify its Index property to set the loading order.

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

The IModelImageSources node represents a list of the IModelImageSource nodes.

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

See Also