MapMouseUpMapViewEventArgs¶
Namespace: ThinkGeo.UI.WinForms
Provides data for MapViewBase.MapMouseUp, exposing screen/world coordinates and the released mouse button.
public class MapMouseUpMapViewEventArgs : System.EventArgs
Inheritance object → EventArgs → MapMouseUpMapViewEventArgs
Remarks:
MapView-level notification fired once per physical mouse-up event, synchronously, before any InteractiveOverlay dispatch. Distinct from InteractiveOverlay.MapMouseUp, which fires only if dispatch reaches that overlay.
Properties¶
ScreenX¶
Gets the X screen coordinate of the pointer.
public float ScreenX { get; }
Property Value¶
ScreenY¶
Gets the Y screen coordinate of the pointer.
public float ScreenY { get; }
Property Value¶
MouseButton¶
Gets the mouse button that was released.
public MapMouseButton MouseButton { get; }
Property Value¶
WorldLocation¶
Gets the pointer world position as a PointShape.
public PointShape WorldLocation { get; }
Property Value¶
PointShape
Constructors¶
MapMouseUpMapViewEventArgs()¶
Initializes a new instance of the MapMouseUpMapViewEventArgs class with undefined coordinates.
public MapMouseUpMapViewEventArgs()
MapMouseUpMapViewEventArgs(float, float, double, double, MapMouseButton)¶
Initializes a new instance of the MapMouseUpMapViewEventArgs class with explicit coordinates and button data.
public MapMouseUpMapViewEventArgs(float screenX, float screenY, double worldX, double worldY, MapMouseButton mouseButton)
Parameters¶
screenX float
The X coordinate of the pointer in screen pixels.
screenY float
The Y coordinate of the pointer in screen pixels.
worldX double
The X coordinate of the pointer in world units.
worldY double
The Y coordinate of the pointer in world units.
mouseButton MapMouseButton
The button that was released.