Show / Hide Table of Contents

    Interface IWidget

    Namespace: Mapsui.Widgets
    Assembly: Mapsui.dll
    Syntax
    public interface IWidget

    Properties

    | Improve this Doc View Source

    Enabled

    Declaration
    bool Enabled { get; set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Envelope

    The hit box of the widget. This needs to be updated from the widget renderer.

    Declaration
    BoundingBox Envelope { get; set; }
    Property Value
    Type Description
    BoundingBox
    | Improve this Doc View Source

    HorizontalAlignment

    Declaration
    HorizontalAlignment HorizontalAlignment { get; set; }
    Property Value
    Type Description
    HorizontalAlignment
    | Improve this Doc View Source

    MarginX

    Declaration
    float MarginX { get; set; }
    Property Value
    Type Description
    System.Single
    | Improve this Doc View Source

    MarginY

    Declaration
    float MarginY { get; set; }
    Property Value
    Type Description
    System.Single
    | Improve this Doc View Source

    VerticalAlignment

    Declaration
    VerticalAlignment VerticalAlignment { get; set; }
    Property Value
    Type Description
    VerticalAlignment

    Methods

    | Improve this Doc View Source

    HandleWidgetTouched(INavigator, Point)

    Function, which is called, when a Widget is hiten

    Declaration
    bool HandleWidgetTouched(INavigator navigator, Point position)
    Parameters
    Type Name Description
    INavigator navigator

    Navigator of MapControl

    Point position

    Screen position

    Returns
    Type Description
    System.Boolean

    True, if the Widget had handled the touch event

    • Improve this Doc
    • View Source
    Back to top Generated by DocFX