Class WidgetEventArgs
Arguments for a touched event of a widget
Inherited Members
Namespace: Mapsui.Widgets
Assembly: Mapsui.dll
Syntax
public class WidgetEventArgs : BaseEventArgs
Constructors
| Edit this page View SourceWidgetEventArgs(ScreenPosition, MPoint, GestureType, Map, bool, GetMapInfoDelegate, GetRemoteMapInfoAsyncDelegate)
Arguments for a touched event of a widget
Declaration
public WidgetEventArgs(ScreenPosition screenPosition, MPoint worldPosition, GestureType gestureType, Map map, bool shiftPressed, GetMapInfoDelegate getMapInfo, GetRemoteMapInfoAsyncDelegate getRemoteMapInfoAsync)
Parameters
| Type | Name | Description |
|---|---|---|
| ScreenPosition | screenPosition | |
| MPoint | worldPosition | |
| GestureType | gestureType | |
| Map | map | |
| bool | shiftPressed | |
| GetMapInfoDelegate | getMapInfo | |
| GetRemoteMapInfoAsyncDelegate | getRemoteMapInfoAsync |
Properties
| Edit this page View SourceShiftPressed
Shift key pressed while touching
Declaration
public bool ShiftPressed { get; }
Property Value
| Type | Description |
|---|---|
| bool |