Class WidgetInput
Inherited Members
Namespace: Mapsui.Widgets
Assembly: Mapsui.dll
Syntax
public static class WidgetInput
Methods
| Edit this page View SourceGetWidgetsAtPosition(ScreenPosition, Map)
Gets the widgets selected by a touched positions
Declaration
public static IEnumerable<IWidget> GetWidgetsAtPosition(ScreenPosition position, Map map)
Parameters
| Type | Name | Description |
|---|---|---|
| ScreenPosition | position | The screen position in device independent units (or DIP or DP) |
| Map | map | The map to get the widgets from. |
Returns
| Type | Description |
|---|---|
| IEnumerable<IWidget> | Returns the Widgets in the list that contain the screenPosition within it's Envelope. Returns null if there are none. |