The requested page is not available for the requested platform. You are viewing the content for Default platform.

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

Declaration

[ImageName("ModelEditor_ImageSources")]
[ModelNodesGenerator(typeof(ImageSourceNodesGenerator))]
public interface IModelImageSources :
    IModelNode,
    IModelList<IModelImageSource>,
    IList<IModelImageSource>,
    ICollection<IModelImageSource>,
    IEnumerable<IModelImageSource>,
    IEnumerable
<ImageName("ModelEditor_ImageSources")>
<ModelNodesGenerator(GetType(ImageSourceNodesGenerator))>
Public Interface IModelImageSources
    Inherits IModelNode,
             IModelList(Of IModelImageSource),
             IList(Of IModelImageSource),
             ICollection(Of IModelImageSource),
             IEnumerable(Of 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