MapControl.ImageList Property
Gets or sets the source of images to be displayed within a map control.
Namespace: DevExpress.XtraMap
Assembly: DevExpress.XtraMap.v24.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;
}
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ImageList property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
See Also