MapCore.KeyPress Event

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

Occurs when the user presses a key on the keyboard.

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

public override event EventHandler<MapKeyPressEventArgs> KeyPress
/** @event */
public void add_KeyPress (EventHandler<MapKeyPressEventArgs> value)

/** @event */
public void remove_KeyPress (EventHandler<MapKeyPressEventArgs> value)

This event occurs only once after the first KeyDown, even if the user holds the key down.

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