Show / Hide Table of Contents

    Class Widget

    Inheritance
    System.Object
    Widget
    ScaleBarWidget
    TextBox
    ZoomInOutWidget
    Implements
    IWidget
    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 abstract class Widget : IWidget

    Properties

    | Improve this Doc View Source

    Enabled

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

    Envelope

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

    HorizontalAlignment

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

    MarginX

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

    MarginY

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

    VerticalAlignment

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

    Methods

    | Improve this Doc View Source

    CalculatePositionX(Single, Single, Single)

    Declaration
    public float CalculatePositionX(float left, float right, float width)
    Parameters
    Type Name Description
    System.Single left
    System.Single right
    System.Single width
    Returns
    Type Description
    System.Single
    | Improve this Doc View Source

    CalculatePositionY(Single, Single, Single)

    Declaration
    public float CalculatePositionY(float top, float bottom, float height)
    Parameters
    Type Name Description
    System.Single top
    System.Single bottom
    System.Single height
    Returns
    Type Description
    System.Single
    | Improve this Doc View Source

    HandleWidgetTouched(INavigator, Point)

    Declaration
    public abstract bool HandleWidgetTouched(INavigator navigator, Point position)
    Parameters
    Type Name Description
    INavigator navigator
    Point position
    Returns
    Type Description
    System.Boolean

    Implements

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