MapBase.KeyHeld 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 user presses and holds down a key or keys on the keyboard.
Namespace: Microsoft.Maps.MapControl.Core
Assembly: Microsoft.Maps.MapControl (in Microsoft.Maps.MapControl.dll)
Usage
Syntax
'Declaration
Public Event KeyHeld As EventHandler(Of MapKeyHeldEventArgs)
public abstract event EventHandler<MapKeyHeldEventArgs> KeyHeld
public:
virtual event EventHandler<MapKeyHeldEventArgs^>^ KeyHeld {
void add (EventHandler<MapKeyHeldEventArgs^>^ value) abstract;
void remove (EventHandler<MapKeyHeldEventArgs^>^ value) abstract;
}
/** @event */
public abstract void add_KeyHeld (EventHandler<MapKeyHeldEventArgs> value)
/** @event */
public abstract void remove_KeyHeld (EventHandler<MapKeyHeldEventArgs> value)
Remarks
Note
This event occurs for every frame that the user holds the key.
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
Change History
See Also
Reference
MapBase Class
MapBase Members
Microsoft.Maps.MapControl.Core Namespace