.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.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.v21.1.dll

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 Override Images 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