layout: default title: MouseWheelEvent parent: Core Classes —
dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Events
MouseWheelEvent Class
Fires when a wheel button of a pointing device (typically a mouse) is scrolled on the view.
public class MouseWheelEvent : dymaptic.GeoBlazor.Core.Events.JsEvent,
System.IEquatable<dymaptic.GeoBlazor.Core.Events.MouseWheelEvent>
Inheritance System.Object 🡒 JsEvent 🡒 MouseWheelEvent
Implements System.IEquatable<MouseWheelEvent>
Constructors
MouseWheelEvent(string, Nullable, Nullable, double, double, double, double, DomPointerEvent, Nullable) Constructor
Fires when a wheel button of a pointing device (typically a mouse) is scrolled on the view.
public MouseWheelEvent(string Type, System.Nullable<int> EventId, System.Nullable<bool> Cancelable, double X, double Y, double DeltaY, double Timestamp, dymaptic.GeoBlazor.Core.Events.DomPointerEvent Native, System.Nullable<dymaptic.GeoBlazor.Core.Events.PointerType> PointerType);
Parameters
Type
System.String
Indicates the type of the event.
EventId
System.Nullable<System.Int32>
The unique Id of the event.
Cancelable
System.Nullable<System.Boolean>
Whether the event can be cancelled once begun.
The horizontal screen coordinate of the click on the view.
The vertical screen coordinate of the click on the view.
DeltaY
System.Double
Number representing the vertical scroll amount.
Timestamp
System.Double
Time stamp (in milliseconds) at which the event was emitted.
Native
DomPointerEvent
A standard DOM Pointer Event
PointerType
System.Nullable<PointerType>
Indicates the pointer type.
Properties
MouseWheelEvent.DeltaY Property
Number representing the vertical scroll amount.
public double DeltaY { get; set; }
Property Value
MouseWheelEvent.X Property
The horizontal screen coordinate of the click on the view.
public double X { get; set; }
Property Value
MouseWheelEvent.Y Property
The vertical screen coordinate of the click on the view.
public double Y { get; set; }