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
<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>
<a href=”https://developer.mozilla.org/docs/Web/API/MouseEvent/x”.htmlN Reference</a>
<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; init; }
Property Value
DomMouseEvent.Button Property
<a href=”https://developer.mozilla.org/docs/Web/API/MouseEvent/button”.htmlN Reference</a>
public int Button { get; init; }
Property Value
DomMouseEvent.Buttons Property
<a href=”https://developer.mozilla.org/docs/Web/API/MouseEvent/buttons”.htmlN Reference</a>
public int Buttons { get; init; }
Property Value
DomMouseEvent.ClientX Property
<a href=”https://developer.mozilla.org/docs/Web/API/MouseEvent/clientX”.htmlN Reference</a>
public int ClientX { get; init; }
Property Value
DomMouseEvent.ClientY Property
<a href=”https://developer.mozilla.org/docs/Web/API/MouseEvent/clientY”.htmlN Reference</a>
public int ClientY { get; init; }
Property Value
DomMouseEvent.CtrlKey Property
<a href=”https://developer.mozilla.org/docs/Web/API/MouseEvent/ctrlKey”.htmlN Reference</a>
public bool CtrlKey { get; init; }
Property Value
DomMouseEvent.MetaKey Property
<a href=”https://developer.mozilla.org/docs/Web/API/MouseEvent/metaKey”.htmlN Reference</a>
public bool MetaKey { get; init; }
Property Value
DomMouseEvent.MovementX Property
<a href=”https://developer.mozilla.org/docs/Web/API/MouseEvent/movementX”.htmlN Reference</a>
public System.Nullable<double> MovementX { get; init; }
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; init; }
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; init; }
Property Value
DomMouseEvent.OffsetY Property
<a href=”https://developer.mozilla.org/docs/Web/API/MouseEvent/offsetY”.htmlN Reference</a>
public double OffsetY { get; init; }
Property Value
DomMouseEvent.PageX Property
<a href=”https://developer.mozilla.org/docs/Web/API/MouseEvent/pageX”.htmlN Reference</a>
public double PageX { get; init; }
Property Value
DomMouseEvent.PageY Property
<a href=”https://developer.mozilla.org/docs/Web/API/MouseEvent/pageY”.htmlN Reference</a>
public double PageY { get; init; }
Property Value
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; init; }
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; init; }
Property Value
DomMouseEvent.ScreenY Property
<a href=”https://developer.mozilla.org/docs/Web/API/MouseEvent/screenY”.htmlN Reference</a>
public int ScreenY { get; init; }
Property Value
DomMouseEvent.ShiftKey Property
<a href=”https://developer.mozilla.org/docs/Web/API/MouseEvent/shiftKey”.htmlN Reference</a>
public bool ShiftKey { get; init; }
Property Value
DomMouseEvent.X Property
<a href=”https://developer.mozilla.org/docs/Web/API/MouseEvent/x”.htmlN Reference</a>
public int X { get; init; }
Property Value
DomMouseEvent.Y Property
<a href=”https://developer.mozilla.org/docs/Web/API/MouseEvent/y”.htmlN Reference</a>
public int Y { get; init; }