Search Results for

    Show / Hide Table of Contents

    Interface IWidget

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

    Properties

    | Edit this page View Source

    Enabled

    Declaration
    bool Enabled { get; set; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    Envelope

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

    Declaration
    MRect? Envelope { get; set; }
    Property Value
    Type Description
    MRect
    | Edit this page View Source

    HorizontalAlignment

    Declaration
    HorizontalAlignment HorizontalAlignment { get; set; }
    Property Value
    Type Description
    HorizontalAlignment
    | Edit this page View Source

    MarginX

    Declaration
    float MarginX { get; set; }
    Property Value
    Type Description
    float
    | Edit this page View Source

    MarginY

    Declaration
    float MarginY { get; set; }
    Property Value
    Type Description
    float
    | Edit this page View Source

    VerticalAlignment

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

    Methods

    | Edit this page View Source

    HandleWidgetTouched(Navigator, MPoint)

    Function, which is called, when a Widget is hidden

    Declaration
    bool HandleWidgetTouched(Navigator navigator, MPoint position)
    Parameters
    Type Name Description
    Navigator navigator

    Navigator of MapControl

    MPoint position

    Screen position

    Returns
    Type Description
    bool

    True, if the Widget had handled the touch event

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