Skip to content

AsciiKey.CharacterKeyMapping Struct

Associates a character glyph and a Keys value.

C#
public readonly struct AsciiKey.CharacterKeyMapping : IEquatable<AsciiKey.CharacterKeyMapping>

Implements IEquatable<AsciiKey.CharacterKeyMapping>

Used when the NumLock is active.

Associates a character glyph and a Keys value.

C#
public CharacterKeyMapping(char CharacterGlyph, Keys Key)

CharacterGlyph char
The number pad character.

Key Keys
The key the character maps to.

Used when the NumLock is active.

The number pad character.

C#
public char CharacterGlyph { get; init; }

The key the character maps to.

C#
public Keys Key { get; init; }
C#
public override string ToString()

string

C#
public override int GetHashCode()

int

C#
public override bool Equals(object obj)

obj object

bool

C#
public bool Equals(AsciiKey.CharacterKeyMapping other)

other AsciiKey.CharacterKeyMapping

bool

C#
public void Deconstruct(out char CharacterGlyph, out Keys Key)

CharacterGlyph char

Key Keys