RoadMode.Activating Method

This documentation is no longer available on MSDN, however it is available as a CHM download.

Notifies the mode that it is being activated by the map.

Namespace: Microsoft.Maps.MapControl
Assembly: Microsoft.Maps.MapControl (in Microsoft.Maps.MapControl.dll)

Usage

Syntax

'Declaration
Public Overrides Sub Activating ( _
    previousMode As MapMode, _
    modeLayer As MapLayerBase, _
    modeForegroundLayer As MapLayerBase _
)
public override void Activating (
    MapMode previousMode,
    MapLayerBase modeLayer,
    MapLayerBase modeForegroundLayer
)
public:
virtual void Activating (
    MapMode^ previousMode, 
    MapLayerBase^ modeLayer, 
    MapLayerBase^ modeForegroundLayer
) override
public void Activating (
    MapMode previousMode, 
    MapLayerBase modeLayer, 
    MapLayerBase modeForegroundLayer
)
public override function Activating (
    previousMode : MapMode, 
    modeLayer : MapLayerBase, 
    modeForegroundLayer : MapLayerBase
)

Parameters

  • previousMode
    The mode from which the map is transitioning.
  • modeLayer
    The map mode layer.
  • modeForegroundLayer
    The mode foreground layer.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Target Platforms

See Also

Reference

RoadMode Class
RoadMode Members
Microsoft.Maps.MapControl Namespace