layout: default title: ResizeEvent parent: Core Classes —

dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Events

ResizeEvent Class

Result of the view.on(‘resize’) event

public class ResizeEvent :
System.IEquatable<dymaptic.GeoBlazor.Core.Events.ResizeEvent>

Inheritance System.Object 🡒 ResizeEvent

Implements System.IEquatable<ResizeEvent>

Constructors

ResizeEvent(double, double, double, double) Constructor

Result of the view.on(‘resize’) event

public ResizeEvent(double OldWidth, double OldHeight, double Width, double Height);

Parameters

OldWidth System.Double

The previous view width in pixels

OldHeight System.Double

The previous view height in pixels

Width System.Double

The new measured view width in pixels

Height System.Double

The new measured view height in pixels

Properties

ResizeEvent.Height Property

The new measured view height in pixels

public double Height { get; set; }

Property Value

System.Double

ResizeEvent.OldHeight Property

The previous view height in pixels

public double OldHeight { get; set; }

Property Value

System.Double

ResizeEvent.OldWidth Property

The previous view width in pixels

public double OldWidth { get; set; }

Property Value

System.Double

ResizeEvent.Width Property

The new measured view width in pixels

public double Width { get; set; }

Property Value

System.Double