MapCore.KeyHeld Event
This documentation is no longer available on MSDN, however it is available as a CHM download.
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
<ScriptableMemberAttribute> _
Public Event KeyHeld As EventHandler(Of MapKeyHeldEventArgs)
[ScriptableMemberAttribute]
public override event EventHandler<MapKeyHeldEventArgs> KeyHeld
[ScriptableMemberAttribute]
public:
virtual event EventHandler<MapKeyHeldEventArgs^>^ KeyHeld {
void add (EventHandler<MapKeyHeldEventArgs^>^ value) override;
void remove (EventHandler<MapKeyHeldEventArgs^>^ value) override;
}
/** @event */
public void add_KeyHeld (EventHandler<MapKeyHeldEventArgs> value)
/** @event */
public 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
MapCore Class
MapCore Members
Microsoft.Maps.MapControl.Core Namespace