Rearranges the Layer objects in the collection.

Namespace:  ESRI.ArcGISExplorer.Mapping

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

Syntax

C#
public void Move(
	Layer layer,
	Layer aboveLayer
)
Visual Basic (Declaration)
Public Sub Move ( _
	layer As Layer, _
	aboveLayer As Layer _
)

Parameters

layer
Type: ESRI.ArcGISExplorer.Mapping..::.Layer

The selected layer to move.
aboveLayer
Type: ESRI.ArcGISExplorer.Mapping..::.Layer

The layer above which the selected layer is placed.

Remarks

When a Layer object is added to the ChildItems collection, the object is drawn on top of other layers in the map, at a draw index of 0.

See Also