Skip to content

MapKeyUpMapViewEventArgs

Namespace: ThinkGeo.UI.WinForms

Provides data for MapViewBase.MapKeyUp, exposing the released key and modifier state.

public class MapKeyUpMapViewEventArgs : System.EventArgs

Inheritance object → EventArgs → MapKeyUpMapViewEventArgs

Remarks:

MapView-level notification fired once per physical key-up event, synchronously, before any InteractiveOverlay dispatch. Distinct from InteractiveOverlay.MapKeyUp, which fires only if dispatch reaches that overlay.

Properties

Key

Gets the keyboard key that was released.

public Key Key { get; }

Property Value

Key

IsCtrlKeyPressed

Gets a value indicating whether the CTRL modifier was held.

public bool IsCtrlKeyPressed { get; }

Property Value

bool

IsShiftKeyPressed

Gets a value indicating whether the SHIFT modifier was held.

public bool IsShiftKeyPressed { get; }

Property Value

bool

IsAltKeyPressed

Gets a value indicating whether the ALT modifier was held.

public bool IsAltKeyPressed { get; }

Property Value

bool

Constructors

MapKeyUpMapViewEventArgs()

Initializes a new instance of the MapKeyUpMapViewEventArgs class with no key and no modifiers.

public MapKeyUpMapViewEventArgs()

MapKeyUpMapViewEventArgs(Key, bool, bool, bool)

Initializes a new instance of the MapKeyUpMapViewEventArgs class.

public MapKeyUpMapViewEventArgs(Key key, bool isCtrlKeyPressed, bool isShiftKeyPressed, bool isAltKeyPressed)

Parameters

key Key
The keyboard key that was released.

isCtrlKeyPressed bool
Whether the CTRL modifier was held.

isShiftKeyPressed bool
Whether the SHIFT modifier was held.

isAltKeyPressed bool
Whether the ALT modifier was held.