Search Results for

    Show / Hide Table of Contents

    Class PerformanceWidget

    Widget which shows the drawing performance

    Inheritance
    object
    Widget
    PerformanceWidget
    Implements
    IWidget
    IWidgetTouchable
    INotifyPropertyChanged
    Inherited Members
    Widget.HorizontalAlignment
    Widget.VerticalAlignment
    Widget.MarginX
    Widget.MarginY
    Widget.Envelope
    Widget.Enabled
    Widget.CalculatePositionX(float, float, float)
    Widget.CalculatePositionY(float, float, float)
    Widget.Touchable
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Mapsui.Widgets.PerformanceWidget
    Assembly: Mapsui.dll
    Syntax
    public class PerformanceWidget : Widget, IWidget, IWidgetTouchable, INotifyPropertyChanged
    Remarks

    With this, the user could see the drawing performance on the screen. It shows always the values for the last draw before this draw.

    Constructors

    | Edit this page View Source

    PerformanceWidget(Performance)

    Declaration
    public PerformanceWidget(Performance performance)
    Parameters
    Type Name Description
    Performance performance

    Properties

    | Edit this page View Source

    Opacity

    Opacity of background, frame and signs

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

    Performance

    Performance object which holds the values

    Declaration
    public Performance Performance { get; }
    Property Value
    Type Description
    Performance

    Methods

    | Edit this page View Source

    HandleWidgetTouched(Navigator, MPoint)

    Function, which is called, when a Widget is hidden

    Declaration
    public override 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

    Overrides
    Widget.HandleWidgetTouched(Navigator, MPoint)

    Events

    | Edit this page View Source

    PropertyChanged

    Event handler which is called, when the button is touched

    Declaration
    public event PropertyChangedEventHandler? PropertyChanged
    Event Type
    Type Description
    PropertyChangedEventHandler
    | Edit this page View Source

    WidgetTouched

    Event handler which is called, when the button is touched

    Declaration
    public event EventHandler<WidgetTouchedEventArgs>? WidgetTouched
    Event Type
    Type Description
    EventHandler<WidgetTouchedEventArgs>

    Implements

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