MapControl.ImageList Property

Gets or sets the source of images to be displayed within a map control.

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v20.1.dll

Declaration

[DefaultValue(null)]
public object ImageList { get; set; }
<DefaultValue(Nothing)>
Public Property ImageList As Object

Property Value

Type Default Description
Object

null

An object which represents the source of the images that can be displayed within the map control.

Examples

    mapControl.ImageList = CreateImageList();
object CreateImageList() {
    ImageCollection collection = new ImageCollection() {
        ImageSize = new Size(40, 40)
    };
    collection.Images.Add(new Bitmap(imageFilepath));
    return collection;
}
See Also