Search Results for

    Show / Hide Table of Contents

    Class WidgetInput

    Inheritance
    object
    WidgetInput
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Mapsui.Widgets
    Assembly: Mapsui.dll
    Syntax
    public static class WidgetInput

    Methods

    | Edit this page View Source

    GetWidgetsAtPosition(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.

    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX