Gets the collection of MapItems currently selected in the Contents window.

Namespace:  ESRI.ArcGISExplorer.Application

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

Syntax

C#
public static SelectedItemsCollection SelectedItems { get; }
Visual Basic (Declaration)
Public Shared ReadOnly Property SelectedItems As SelectedItemsCollection

Field Value

A collection of MapItems.

Remarks

The SelectedItemsCollection returned from this property can be used to find out which MapItems are selected, or change the selection programmatically.

Alternatively, if you want to access all the MapItems in the Map, regardless of if they are selected in the Contents window, then use the ChildItems property of the Map.

See Also