Skip to main content
.NET 6.0+

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

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