dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Events

DomMouseEvent Class

Represents the native mouse event in the DOM.

public class 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

<a href=”https://developer.mozilla.org/docs/Web/API/MouseEvent/altKey”.htmlN Reference</a>

Button System.Int32

<a href=”https://developer.mozilla.org/docs/Web/API/MouseEvent/button”.htmlN Reference</a>

Buttons System.Int32

<a href=”https://developer.mozilla.org/docs/Web/API/MouseEvent/buttons”.htmlN Reference</a>

ClientX System.Int32

<a href=”https://developer.mozilla.org/docs/Web/API/MouseEvent/clientX”.htmlN Reference</a>

ClientY System.Int32

<a href=”https://developer.mozilla.org/docs/Web/API/MouseEvent/clientY”.htmlN Reference</a>

CtrlKey System.Boolean

<a href=”https://developer.mozilla.org/docs/Web/API/MouseEvent/ctrlKey”.htmlN Reference</a>

MetaKey System.Boolean

<a href=”https://developer.mozilla.org/docs/Web/API/MouseEvent/metaKey”.htmlN Reference</a>

MovementX System.Nullable<System.Double>

<a href=”https://developer.mozilla.org/docs/Web/API/MouseEvent/movementX”.htmlN Reference</a>

MovementY System.Nullable<System.Double>

<a href=”https://developer.mozilla.org/docs/Web/API/MouseEvent/movementY”.htmlN Reference</a>

OffsetX System.Double

<a href=”https://developer.mozilla.org/docs/Web/API/MouseEvent/offsetX”.htmlN Reference</a>

OffsetY System.Double

<a href=”https://developer.mozilla.org/docs/Web/API/MouseEvent/offsetY”.htmlN Reference</a>

PageX System.Double

<a href=”https://developer.mozilla.org/docs/Web/API/MouseEvent/pageX”.htmlN Reference</a>

PageY System.Double

<a href=”https://developer.mozilla.org/docs/Web/API/MouseEvent/pageY”.htmlN Reference</a>

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

<a href=”https://developer.mozilla.org/docs/Web/API/MouseEvent/relatedTarget”.htmlN Reference</a>

ScreenX System.Int32

<a href=”https://developer.mozilla.org/docs/Web/API/MouseEvent/screenX”.htmlN Reference</a>

ScreenY System.Int32

<a href=”https://developer.mozilla.org/docs/Web/API/MouseEvent/screenY”.htmlN Reference</a>

ShiftKey System.Boolean

<a href=”https://developer.mozilla.org/docs/Web/API/MouseEvent/shiftKey”.htmlN Reference</a>

X System.Int32

<a href=”https://developer.mozilla.org/docs/Web/API/MouseEvent/x”.htmlN Reference</a>

Y System.Int32

<a href=”https://developer.mozilla.org/docs/Web/API/MouseEvent/y”.htmlN Reference</a>

Properties

DomMouseEvent.AltKey Property

<a href=”https://developer.mozilla.org/docs/Web/API/MouseEvent/altKey”.htmlN Reference</a>

public bool AltKey { get; set; }

Property Value

System.Boolean

DomMouseEvent.Button Property

<a href=”https://developer.mozilla.org/docs/Web/API/MouseEvent/button”.htmlN Reference</a>

public int Button { get; set; }

Property Value

System.Int32

DomMouseEvent.Buttons Property

<a href=”https://developer.mozilla.org/docs/Web/API/MouseEvent/buttons”.htmlN Reference</a>

public int Buttons { get; set; }

Property Value

System.Int32

DomMouseEvent.ClientX Property

<a href=”https://developer.mozilla.org/docs/Web/API/MouseEvent/clientX”.htmlN Reference</a>

public int ClientX { get; set; }

Property Value

System.Int32

DomMouseEvent.ClientY Property

<a href=”https://developer.mozilla.org/docs/Web/API/MouseEvent/clientY”.htmlN Reference</a>

public int ClientY { get; set; }

Property Value

System.Int32

DomMouseEvent.CtrlKey Property

<a href=”https://developer.mozilla.org/docs/Web/API/MouseEvent/ctrlKey”.htmlN Reference</a>

public bool CtrlKey { get; set; }

Property Value

System.Boolean

DomMouseEvent.MetaKey Property

<a href=”https://developer.mozilla.org/docs/Web/API/MouseEvent/metaKey”.htmlN Reference</a>

public bool MetaKey { get; set; }

Property Value

System.Boolean

DomMouseEvent.MovementX Property

<a href=”https://developer.mozilla.org/docs/Web/API/MouseEvent/movementX”.htmlN Reference</a>

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

Property Value

System.Nullable<System.Double>

DomMouseEvent.MovementY Property

<a href=”https://developer.mozilla.org/docs/Web/API/MouseEvent/movementY”.htmlN Reference</a>

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

Property Value

System.Nullable<System.Double>

DomMouseEvent.OffsetX Property

<a href=”https://developer.mozilla.org/docs/Web/API/MouseEvent/offsetX”.htmlN Reference</a>

public double OffsetX { get; set; }

Property Value

System.Double

DomMouseEvent.OffsetY Property

<a href=”https://developer.mozilla.org/docs/Web/API/MouseEvent/offsetY”.htmlN Reference</a>

public double OffsetY { get; set; }

Property Value

System.Double

DomMouseEvent.PageX Property

<a href=”https://developer.mozilla.org/docs/Web/API/MouseEvent/pageX”.htmlN Reference</a>

public double PageX { get; set; }

Property Value

System.Double

DomMouseEvent.PageY Property

<a href=”https://developer.mozilla.org/docs/Web/API/MouseEvent/pageY”.htmlN Reference</a>

public double PageY { get; set; }

Property Value

System.Double

DomMouseEvent.RelatedTarget Property

<a href=”https://developer.mozilla.org/docs/Web/API/MouseEvent/relatedTarget”.htmlN Reference</a>

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

Property Value

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

DomMouseEvent.ScreenX Property

<a href=”https://developer.mozilla.org/docs/Web/API/MouseEvent/screenX”.htmlN Reference</a>

public int ScreenX { get; set; }

Property Value

System.Int32

DomMouseEvent.ScreenY Property

<a href=”https://developer.mozilla.org/docs/Web/API/MouseEvent/screenY”.htmlN Reference</a>

public int ScreenY { get; set; }

Property Value

System.Int32

DomMouseEvent.ShiftKey Property

<a href=”https://developer.mozilla.org/docs/Web/API/MouseEvent/shiftKey”.htmlN Reference</a>

public bool ShiftKey { get; set; }

Property Value

System.Boolean

DomMouseEvent.X Property

<a href=”https://developer.mozilla.org/docs/Web/API/MouseEvent/x”.htmlN Reference</a>

public int X { get; set; }

Property Value

System.Int32

DomMouseEvent.Y Property

<a href=”https://developer.mozilla.org/docs/Web/API/MouseEvent/y”.htmlN Reference</a>

public int Y { get; set; }

Property Value

System.Int32