MapMode.Activated Method
This documentation is no longer available on MSDN, however it is available as a CHM download.
When overridden in a derived class, executes when the map mode is activated.
Namespace: Microsoft.Maps.MapControl.Core
Assembly: Microsoft.Maps.MapControl.Common (in Microsoft.Maps.MapControl.Common.dll)
Usage
Syntax
'Declaration
Public Overridable Sub Activated ( _
modeLayer As MapLayerBase, _
modeForegroundLayer As MapLayerBase _
)
public virtual void Activated (
MapLayerBase modeLayer,
MapLayerBase modeForegroundLayer
)
public:
virtual void Activated (
MapLayerBase^ modeLayer,
MapLayerBase^ modeForegroundLayer
)
public void Activated (
MapLayerBase modeLayer,
MapLayerBase modeForegroundLayer
)
public function Activated (
modeLayer : MapLayerBase,
modeForegroundLayer : MapLayerBase
)
Parameters
- modeLayer
The map mode layer.
- modeForegroundLayer
The map 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
MapMode Class
MapMode Members
Microsoft.Maps.MapControl.Core Namespace