Class WidgetTouch
Inheritance
System.Object
WidgetTouch
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Mapsui.Widgets
Assembly: Mapsui.dll
Syntax
public static class WidgetTouch
Methods
| Improve this Doc View SourceGetTouchedWidget(Point, Point, IEnumerable<IWidget>)
Gets the widget selected by touch positions
Declaration
public static IEnumerable<IWidget> GetTouchedWidget(Point screenPosition, Point startScreenPosition, IEnumerable<IWidget> widgets)
Parameters
Type | Name | Description |
---|---|---|
Point | screenPosition | The screen position in device independent units (or DIP or DP) |
Point | startScreenPosition | The start screen position in device independent units (or DIP or DP) |
System.Collections.Generic.IEnumerable<IWidget> | widgets | The widgets to select from. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<IWidget> | Returns the first Widget in the list that contains the screenPosition within it's Envelope. Returns null if there are none. |