Class PerformanceWidget
Widget which shows the drawing performance
Inherited Members
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 SourcePerformanceWidget(Performance)
Declaration
public PerformanceWidget(Performance performance)
Parameters
Type | Name | Description |
---|---|---|
Performance | performance |
Properties
| Edit this page View SourceOpacity
Opacity of background, frame and signs
Declaration
public float Opacity { get; set; }
Property Value
Type | Description |
---|---|
float |
Performance
Performance object which holds the values
Declaration
public Performance Performance { get; }
Property Value
Type | Description |
---|---|
Performance |
Methods
| Edit this page View SourceHandleWidgetTouched(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
Events
| Edit this page View SourcePropertyChanged
Event handler which is called, when the button is touched
Declaration
public event PropertyChangedEventHandler? PropertyChanged
Event Type
Type | Description |
---|---|
PropertyChangedEventHandler |
WidgetTouched
Event handler which is called, when the button is touched
Declaration
public event EventHandler<WidgetTouchedEventArgs>? WidgetTouched
Event Type
Type | Description |
---|---|
EventHandler<WidgetTouchedEventArgs> |