Represents a logical container for MapItems.
Namespace:
ESRI.ArcGISExplorer.MappingAssembly: ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.1500 (2.0.0.1500)
Syntax
C# |
---|
public sealed class Folder : MapItem, IMapItemParent |
Visual Basic (Declaration) |
---|
Public NotInheritable Class Folder _ Inherits MapItem _ Implements IMapItemParent |
Remarks
The Folder class is used to organize MapItems into logical groups, which becomes increasingly important when you are trying to present a lot of information in a Map. The Folder.ChildItems property is a MapItemCollection, just like Map.ChildItems, and similarly you can use the Add and Remove methods on MapItemCollection to control the content of the Folder.
The table below gives a brief description of each MapItem type that can be added to Folder.ChildItems:
MapItem Type | Description |
---|---|
Note | A single graphic associated with a popup window. |
Link | A link to a URL, file or external application. |
View | A stored location in 2D or 3D associated with a popup window. |
ImageOverlay | An image which is positioned in relation to the map window. |
Folder | A container used to organize map content into logical groups. |
Layers | A subset of MapItems that reference geographic data. |
There are several MapItem types that cannot be added to a Folder independently:
MapItem Type | Description |
---|---|
Basemap | Basemaps can only be stored in the Basemap property of a Map. |
KmlNode | A KmlNode is a constituent part of a KmlLayer. |
PackageChildLayer | A PackageChildLayer is a constituent part of a PackageLayer. |
ServiceChildLayer | A ServiceChildLayer is a constituent part of a ServiceLayer. |