dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Events

DomMouseEvent Class

Represents the native mouse event in the DOM.

public record DomMouseEvent : dymaptic.GeoBlazor.Core.Events.IDomUiEvent, System.IEquatable<dymaptic.GeoBlazor.Core.Events.DomMouseEvent>

Inheritance System.Object 🡒 DomMouseEvent

Implements IDomUiEvent, System.IEquatable<DomMouseEvent>

Constructors

DomMouseEvent(bool, int, int, int, int, bool, bool, Nullable, Nullable, double, double, double, double, Nullable, int, int, bool, int, int) Constructor

Represents the native mouse event in the DOM.

public DomMouseEvent(bool AltKey, int Button, int Buttons, int ClientX, int ClientY, bool CtrlKey, bool MetaKey, System.Nullable<double> MovementX, System.Nullable<double> MovementY, double OffsetX, double OffsetY, double PageX, double PageY, System.Nullable<Microsoft.AspNetCore.Components.ElementReference> RelatedTarget, int ScreenX, int ScreenY, bool ShiftKey, int X, int Y);

Parameters

AltKey System.Boolean

MDN Reference

Button System.Int32

MDN Reference

Buttons System.Int32

MDN Reference

ClientX System.Int32

MDN Reference

ClientY System.Int32

MDN Reference

CtrlKey System.Boolean

MDN Reference

MetaKey System.Boolean

MDN Reference

MovementX System.Nullable<System.Double>

MDN Reference

MovementY System.Nullable<System.Double>

MDN Reference

OffsetX System.Double

MDN Reference

OffsetY System.Double

MDN Reference

PageX System.Double

MDN Reference

PageY System.Double

MDN Reference

RelatedTarget System.Nullable<Microsoft.AspNetCore.Components.ElementReference>

MDN Reference

ScreenX System.Int32

MDN Reference

ScreenY System.Int32

MDN Reference

ShiftKey System.Boolean

MDN Reference

X System.Int32

MDN Reference

Y System.Int32

MDN Reference

Properties

DomMouseEvent.AltKey Property

MDN Reference

public bool AltKey { get; init; }

Property Value

System.Boolean

DomMouseEvent.Button Property

MDN Reference

public int Button { get; init; }

Property Value

System.Int32

DomMouseEvent.Buttons Property

MDN Reference

public int Buttons { get; init; }

Property Value

System.Int32

DomMouseEvent.ClientX Property

MDN Reference

public int ClientX { get; init; }

Property Value

System.Int32

DomMouseEvent.ClientY Property

MDN Reference

public int ClientY { get; init; }

Property Value

System.Int32

DomMouseEvent.CtrlKey Property

MDN Reference

public bool CtrlKey { get; init; }

Property Value

System.Boolean

DomMouseEvent.MetaKey Property

MDN Reference

public bool MetaKey { get; init; }

Property Value

System.Boolean

DomMouseEvent.MovementX Property

MDN Reference

public System.Nullable<double> MovementX { get; init; }

Property Value

System.Nullable<System.Double>

DomMouseEvent.MovementY Property

MDN Reference

public System.Nullable<double> MovementY { get; init; }

Property Value

System.Nullable<System.Double>

DomMouseEvent.OffsetX Property

MDN Reference

public double OffsetX { get; init; }

Property Value

System.Double

DomMouseEvent.OffsetY Property

MDN Reference

public double OffsetY { get; init; }

Property Value

System.Double

DomMouseEvent.PageX Property

MDN Reference

public double PageX { get; init; }

Property Value

System.Double

DomMouseEvent.PageY Property

MDN Reference

public double PageY { get; init; }

Property Value

System.Double

DomMouseEvent.RelatedTarget Property

MDN Reference

public System.Nullable<Microsoft.AspNetCore.Components.ElementReference> RelatedTarget { get; init; }

Property Value

System.Nullable<Microsoft.AspNetCore.Components.ElementReference>

DomMouseEvent.ScreenX Property

MDN Reference

public int ScreenX { get; init; }

Property Value

System.Int32

DomMouseEvent.ScreenY Property

MDN Reference

public int ScreenY { get; init; }

Property Value

System.Int32

DomMouseEvent.ShiftKey Property

MDN Reference

public bool ShiftKey { get; init; }

Property Value

System.Boolean

DomMouseEvent.X Property

MDN Reference

public int X { get; init; }

Property Value

System.Int32

DomMouseEvent.Y Property

MDN Reference

public int Y { get; init; }

Property Value

System.Int32