dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Events

DomKeyboardEvent Class

Represents the native keyboard event in the DOM.

public class DomKeyboardEvent :
dymaptic.GeoBlazor.Core.Events.IDomUiEvent,
System.IEquatable<dymaptic.GeoBlazor.Core.Events.DomKeyboardEvent>

Inheritance System.Object 🡒 DomKeyboardEvent

Implements IDomUiEvent, System.IEquatable<DomKeyboardEvent>

Constructors

DomKeyboardEvent(bool, int, string, bool, bool, string, int, int, bool, bool, bool) Constructor

Represents the native keyboard event in the DOM.

public DomKeyboardEvent(bool AltKey, int CharCode, string Code, bool CtrlKey, bool IsComposing, string Key, int KeyCode, int Location, bool MetaKey, bool Repeat, bool ShiftKey);

Parameters

AltKey System.Boolean

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

CharCode System.Int32

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

Code System.String

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

CtrlKey System.Boolean

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

IsComposing System.Boolean

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

Key System.String

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

KeyCode System.Int32

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

Location System.Int32

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

MetaKey System.Boolean

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

Repeat System.Boolean

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

ShiftKey System.Boolean

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

Properties

DomKeyboardEvent.AltKey Property

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

public bool AltKey { get; set; }

Property Value

System.Boolean

DomKeyboardEvent.CharCode Property

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

public int CharCode { get; set; }

Property Value

System.Int32

DomKeyboardEvent.Code Property

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

public string Code { get; set; }

Property Value

System.String

DomKeyboardEvent.CtrlKey Property

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

public bool CtrlKey { get; set; }

Property Value

System.Boolean

DomKeyboardEvent.IsComposing Property

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

public bool IsComposing { get; set; }

Property Value

System.Boolean

DomKeyboardEvent.Key Property

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

public string Key { get; set; }

Property Value

System.String

DomKeyboardEvent.KeyCode Property

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

public int KeyCode { get; set; }

Property Value

System.Int32

DomKeyboardEvent.Location Property

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

public int Location { get; set; }

Property Value

System.Int32

DomKeyboardEvent.MetaKey Property

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

public bool MetaKey { get; set; }

Property Value

System.Boolean

DomKeyboardEvent.Repeat Property

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

public bool Repeat { get; set; }

Property Value

System.Boolean

DomKeyboardEvent.ShiftKey Property

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

public bool ShiftKey { get; set; }

Property Value

System.Boolean