KeyboardLayoutMap Class
The keyboard layout of the device (https://wicg.github.io/keyboard-map/#keyboardlayoutmap-interface), returned by navigator.keyboard.getLayoutMap(): the key value produced without modifier by each writing system key, by code value (e.g. KeyQ is a on an AZERTY keyboard).
public sealed class KeyboardLayoutMap : IEnumerable<KeyValuePair<string, string>>, IReadOnlyCollection<KeyValuePair<string, string>>, IEnumerable- Implements
Properties
| Name | Description |
|---|---|
| Count | Gets the number of keys of the layout. |
Count
KeyboardMap.csMethods
| Name | Description |
|---|---|
| Get(string) | Returns the key value produced by a key, or null when the key is not in the layout. |
| GetEnumerator() | Enumerates the keys and their values, in the order of the writing system keys of the specification. |
| Has(string) | Returns whether a key is in the layout. |
| System.Collections.IEnumerable.GetEnumerator() |
Get(string)
KeyboardMap.csGetEnumerator()
KeyboardMap.csEnumerates the keys and their values, in the order of the writing system keys of the specification.
public IEnumerator<KeyValuePair<string, string>> GetEnumerator()