Skip to content

Key

Namespace: PuppeteerSharp.Input

public class Key

Utility class to be used with Keyboard operations.

Inheritance: object

View source

public static readonly Key Accept

Accept key.

Value: Key

View source

public static readonly Key Alt

Alt key.

Value: Key

View source

public static readonly Key AltGraph

AltGraph key.

Value: Key

View source

public static readonly Key Ampersand

‘&’ key.

Value: Key

View source

public static readonly Key ArrowDown

ArrowDown key.

Value: Key

View source

public static readonly Key ArrowLeft

ArrowLeft key.

Value: Key

View source

public static readonly Key ArrowRight

ArrowRight key.

Value: Key

View source

public static readonly Key ArrowUp

ArrowUp key.

Value: Key

View source

public static readonly Key Asterisk

Asterisk key.

Value: Key

View source

public static readonly Key AtSign

‘@’ key.

Value: Key

View source

public static readonly Key Attn

Attn key.

Value: Key

View source

public static readonly Key AudioVolumeDown

AudioVolumeDown key.

Value: Key

View source

public static readonly Key AudioVolumeMute

AudioVolumeMute key.

Value: Key

View source

public static readonly Key AudioVolumeUp

AudioVolumeUp key.

Value: Key

View source

public static readonly Key Backquote

‘`’ key.

Value: Key

View source

public static readonly Key Backslash

’' key.

Value: Key

View source

public static readonly Key Backspace

Backspace key.

Value: Key

View source

public static readonly Key Cancel

Cancel key.

Value: Key

View source

public static readonly Key CapsLock

CapsLock key.

Value: Key

View source

public static readonly Key Caret

‘^’ key.

Value: Key

View source

public static readonly Key Clear

Clear key.

Value: Key

View source

public static readonly Key CloseBrackets

‘}’ key.

Value: Key

View source

public static readonly Key CloseParentheses

‘)’ key.

Value: Key

View source

public static readonly Key CloseSquareBrackets

‘]’ key.

Value: Key

View source

public static readonly Key Comma

‘,’ key.

Value: Key

View source

public static readonly Key ContextMenu

ContextMenu key.

Value: Key

View source

public static readonly Key Control

Control key.

Value: Key

View source

public static readonly Key Convert

Convert key.

Value: Key

View source

public static readonly Key CrSel

CrSel key.

Value: Key

View source

public static readonly Key Delete

Delete key.

Value: Key

View source

public static readonly Key DollarSign

‘$’ key.

Value: Key

View source

public static readonly Key End

End key.

Value: Key

View source

public static readonly Key Enter

Enter key.

Value: Key

View source

public static readonly Key EqualsSign

‘=’ key.

Value: Key

View source

public static readonly Key EraseEof

EraseEof key.

Value: Key

View source

public static readonly Key Escape

Escape key.

Value: Key

View source

public static readonly Key ExSel

ExSel key.

Value: Key

View source

public static readonly Key ExclamationMark

‘!’ key.

Value: Key

View source

public static readonly Key Execute

Execute key.

Value: Key

View source

public static readonly Key F1

F1 key.

Value: Key

View source

public static readonly Key F10

F10 key.

Value: Key

View source

public static readonly Key F11

F12 key.

Value: Key

View source

public static readonly Key F12

F11 key.

Value: Key

View source

public static readonly Key F13

F13 key.

Value: Key

View source

public static readonly Key F14

F14 key.

Value: Key

View source

public static readonly Key F15

F15 key.

Value: Key

View source

public static readonly Key F16

F16 key.

Value: Key

View source

public static readonly Key F17

F17 key.

Value: Key

View source

public static readonly Key F18

F18 key.

Value: Key

View source

public static readonly Key F19

F19 key.

Value: Key

View source

public static readonly Key F2

F2 key.

Value: Key

View source

public static readonly Key F20

F20 key.

Value: Key

View source

public static readonly Key F21

F21 key.

Value: Key

View source

public static readonly Key F22

F22 key.

Value: Key

View source

public static readonly Key F23

F23 key.

Value: Key

View source

public static readonly Key F24

F24 key.

Value: Key

View source

public static readonly Key F3

F3 key.

Value: Key

View source

public static readonly Key F4

F4 key.

Value: Key

View source

public static readonly Key F5

F5 key.

Value: Key

View source

public static readonly Key F6

F6 key.

Value: Key

View source

public static readonly Key F7

F7 key.

Value: Key

View source

public static readonly Key F8

F8 key.

Value: Key

View source

public static readonly Key F9

F9 key.

Value: Key

View source

public static readonly Key GreaterThan

‘>’ key.

Value: Key

View source

public static readonly Key Help

Help key.

Value: Key

View source

public static readonly Key Home

Home key.

Value: Key

View source

public static readonly Key Insert

Insert key.

Value: Key

View source

public static readonly Key LesserThan

‘<’ key.

Value: Key

View source

public static readonly Key MediaPlayPause

MediaPlayPause key.

Value: Key

View source

public static readonly Key MediaStop

MediaStop key.

Value: Key

View source

public static readonly Key MediaTrackNext

MediaTrackNext key.

Value: Key

View source

public static readonly Key MediaTrackPrevious

MediaTrackPrevious key.

Value: Key

View source

public static readonly Key Meta

Meta key.

Value: Key

View source

public static readonly Key MinusSign

‘-’ key.

Value: Key

View source

public static readonly Key ModeChange

ModeChange key.

Value: Key

View source

public static readonly Key NonConvert

NonConvert key.

Value: Key

View source

public static readonly Key NumLock

NumLock key.

Value: Key

View source

public static readonly Key NumberSign

‘#’ key.

Value: Key

View source

public static readonly Key OpenBrackets

‘{’ key.

Value: Key

View source

public static readonly Key OpenParentheses

‘(’ key.

Value: Key

View source

public static readonly Key OpenSquareBrackets

‘[’ key.

Value: Key

View source

public static readonly Key PageDown

PageDown key.

Value: Key

View source

public static readonly Key PageUp

PageUp key.

Value: Key

View source

public static readonly Key Pause

Pause key.

Value: Key

View source

public static readonly Key Percent

‘%’ key.

Value: Key

View source

public static readonly Key Period

‘.’ key.

Value: Key

View source

public static readonly Key Pipe

‘|’ key.

Value: Key

View source

public static readonly Key Play

Play key.

Value: Key

View source

public static readonly Key PlusSign

‘+’ key.

Value: Key

View source

public static readonly Key Print

Print key.

Value: Key

View source

public static readonly Key PrintScreen

PrintScreen key.

Value: Key

View source

public static readonly Key QuestionMark

‘?’ key.

Value: Key

View source

public static readonly Key ScrollLock

ScrollLock key.

Value: Key

View source

public static readonly Key Select

Select key.

Value: Key

View source

public static readonly Key Semicolon

‘;’ key.

Value: Key

View source

public static readonly Key Shift

Shift key.

Value: Key

View source

public static readonly Key Slash

’/’key.

Value: Key

View source

public static readonly Key Tab

Tab key.

Value: Key

View source

public static readonly Key Tilde

‘~’ key.

Value: Key

View source

public static readonly Key Underscore

‘_’ key.

Value: Key

View source

public static readonly Key ZoomOut

ZoomOut key.

Value: Key

View source

public override string ToString()

Returns a string that represents the current object.

Returns: string — A string that represents the current object.

View source

[SuppressMessage("Design", "CA1062:Validate arguments of public methods", Justification = "Exceptions should not be raised in this type of method.")]
public static implicit operator string(Key key)

Converts the <code class=“paramref”>key</code> to its underlining string value.

Parameters

Name Type Description
key Key The key.

Returns: string

View source

Made with love by Dario Kondratiuk