Share via


MapBase.MousePan Event

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

When overridden in a derived class, occurs when the mouse is used to pan the map. The event occurs for every frame during the pan.

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

Usage

Syntax

'Declaration
Public Event MousePan As EventHandler(Of MapMouseDragEventArgs)
public abstract event EventHandler<MapMouseDragEventArgs> MousePan
public:
virtual event EventHandler<MapMouseDragEventArgs^>^ MousePan {
    void add (EventHandler<MapMouseDragEventArgs^>^ value) abstract;
    void remove (EventHandler<MapMouseDragEventArgs^>^ value) abstract;
}
/** @event */
public abstract void add_MousePan (EventHandler<MapMouseDragEventArgs> value)

/** @event */
public abstract void remove_MousePan (EventHandler<MapMouseDragEventArgs> value)

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

MapBase Class
MapBase Members
Microsoft.Maps.MapControl.Core Namespace