MapControl.ImageList Property
Gets or sets the source of images to be displayed within a map control.
Namespace: DevExpress.XtraMap
Assembly: DevExpress.XtraMap.v26.1.dll
NuGet Package: DevExpress.Win.Map
Declaration
Property Value
| Type | Default | Description |
|---|---|---|
| Object | null | An object which represents the source of the images that can be displayed within the map control. |
Example
mapControl.ImageList = CreateImageList();
object CreateImageList() {
ImageCollection collection = new ImageCollection() {
ImageSize = new Size(40, 40)
};
collection.Images.Add(new Bitmap(imageFilepath));
return collection;
}
See Also