Search Results for

    Show / Hide Table of Contents

    Class WidgetTouch

    Inheritance
    object
    WidgetTouch
    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 WidgetTouch

    Methods

    | Edit this page View Source

    GetTouchedWidget(MPoint, MPoint, IEnumerable<IWidget>)

    Gets the widget selected by touch positions

    Declaration
    public static IEnumerable<IWidget> GetTouchedWidget(MPoint screenPosition, MPoint startScreenPosition, IEnumerable<IWidget> widgets)
    Parameters
    Type Name Description
    MPoint screenPosition

    The screen position in device independent units (or DIP or DP)

    MPoint startScreenPosition

    The start screen position in device independent units (or DIP or DP)

    IEnumerable<IWidget> widgets

    The widgets to select from.

    Returns
    Type Description
    IEnumerable<IWidget>

    Returns the first Widget in the list that contains 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