A custom icon to be displayed in the Contents window for this MapItem.

Namespace:  ESRI.ArcGISExplorer.Mapping

Assembly:  ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: (


public Bitmap Icon { get; set; }
Visual Basic (Declaration)
Public Property Icon As Bitmap

Field Value

A bitmap of the custom icon to be displayed, or nullNothingnullptra null reference (Nothing in Visual Basic) if the MapItem has the default Icon.


Each MapItem has a default icon which is displayed in the Contents window, and this icon will vary according to the content of the MapItem. For example, Folders have different icons to ServiceLayers; FeatureLayers show different icons depending on the geometry of the data; and Note icons show the type of symbol used for the Note in the map.

This property is nullNothingnullptra null reference (Nothing in Visual Basic) by default. When set, this property will store a Bitmap to be used as a custom icon in the Contents window. The Bitmap is stored within the map document, and so is visible to all users opening that document. MapItem icons are displayed as 16 by 16 pixels; Bitmaps larger than this size will be resampled down to this size.

To reset the MapItem to display with its default icon, set this property to nullNothingnullptra null reference (Nothing in Visual Basic).


If you set a custom icon on to a Layer, the Layer will no longer show the icon which highlights broken layers to the user.

Generally, use of this property should be kept to a minimum in order to maintain the user interface of ArcGIS Explorer. The exception is highly customized application configurations, which may benefit from custom icons in particular, to highlight custom functionality.

Version Information: This property is supported from version

See Also