dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Events

DomKeyboardEvent Class

Represents the native keyboard event in the DOM.

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

MDN Reference

CharCode System.Int32

MDN Reference

Code System.String

MDN Reference

CtrlKey System.Boolean

MDN Reference

IsComposing System.Boolean

MDN Reference

Key System.String

MDN Reference

KeyCode System.Int32

MDN Reference

Location System.Int32

MDN Reference

MetaKey System.Boolean

MDN Reference

Repeat System.Boolean

MDN Reference

ShiftKey System.Boolean

MDN Reference

Properties

DomKeyboardEvent.AltKey Property

MDN Reference

public bool AltKey { get; init; }

Property Value

System.Boolean

DomKeyboardEvent.CharCode Property

MDN Reference

public int CharCode { get; init; }

Property Value

System.Int32

DomKeyboardEvent.Code Property

MDN Reference

public string Code { get; init; }

Property Value

System.String

DomKeyboardEvent.CtrlKey Property

MDN Reference

public bool CtrlKey { get; init; }

Property Value

System.Boolean

DomKeyboardEvent.IsComposing Property

MDN Reference

public bool IsComposing { get; init; }

Property Value

System.Boolean

DomKeyboardEvent.Key Property

MDN Reference

public string Key { get; init; }

Property Value

System.String

DomKeyboardEvent.KeyCode Property

MDN Reference

public int KeyCode { get; init; }

Property Value

System.Int32

DomKeyboardEvent.Location Property

MDN Reference

public int Location { get; init; }

Property Value

System.Int32

DomKeyboardEvent.MetaKey Property

MDN Reference

public bool MetaKey { get; init; }

Property Value

System.Boolean

DomKeyboardEvent.Repeat Property

MDN Reference

public bool Repeat { get; init; }

Property Value

System.Boolean

DomKeyboardEvent.ShiftKey Property

MDN Reference

public bool ShiftKey { get; init; }

Property Value

System.Boolean