Key
Namespace: PuppeteerSharp.Input
public class KeyUtility class to be used with Keyboard operations.
Inheritance: object
Fields
Section titled “Fields”Accept
Section titled “Accept”public static readonly Key AcceptAccept key.
Value: Key
public static readonly Key AltAlt key.
Value: Key
AltGraph
Section titled “AltGraph”public static readonly Key AltGraphAltGraph key.
Value: Key
Ampersand
Section titled “Ampersand”public static readonly Key Ampersand‘&’ key.
Value: Key
ArrowDown
Section titled “ArrowDown”public static readonly Key ArrowDownArrowDown key.
Value: Key
ArrowLeft
Section titled “ArrowLeft”public static readonly Key ArrowLeftArrowLeft key.
Value: Key
ArrowRight
Section titled “ArrowRight”public static readonly Key ArrowRightArrowRight key.
Value: Key
ArrowUp
Section titled “ArrowUp”public static readonly Key ArrowUpArrowUp key.
Value: Key
Asterisk
Section titled “Asterisk”public static readonly Key AsteriskAsterisk key.
Value: Key
AtSign
Section titled “AtSign”public static readonly Key AtSign‘@’ key.
Value: Key
public static readonly Key AttnAttn key.
Value: Key
AudioVolumeDown
Section titled “AudioVolumeDown”public static readonly Key AudioVolumeDownAudioVolumeDown key.
Value: Key
AudioVolumeMute
Section titled “AudioVolumeMute”public static readonly Key AudioVolumeMuteAudioVolumeMute key.
Value: Key
AudioVolumeUp
Section titled “AudioVolumeUp”public static readonly Key AudioVolumeUpAudioVolumeUp key.
Value: Key
Backquote
Section titled “Backquote”public static readonly Key Backquote‘`’ key.
Value: Key
Backslash
Section titled “Backslash”public static readonly Key Backslash’' key.
Value: Key
Backspace
Section titled “Backspace”public static readonly Key BackspaceBackspace key.
Value: Key
Cancel
Section titled “Cancel”public static readonly Key CancelCancel key.
Value: Key
CapsLock
Section titled “CapsLock”public static readonly Key CapsLockCapsLock key.
Value: Key
public static readonly Key Caret‘^’ key.
Value: Key
public static readonly Key ClearClear key.
Value: Key
CloseBrackets
Section titled “CloseBrackets”public static readonly Key CloseBrackets‘}’ key.
Value: Key
CloseParentheses
Section titled “CloseParentheses”public static readonly Key CloseParentheses‘)’ key.
Value: Key
CloseSquareBrackets
Section titled “CloseSquareBrackets”public static readonly Key CloseSquareBrackets‘]’ key.
Value: Key
public static readonly Key Comma‘,’ key.
Value: Key
ContextMenu
Section titled “ContextMenu”public static readonly Key ContextMenuContextMenu key.
Value: Key
Control
Section titled “Control”public static readonly Key ControlControl key.
Value: Key
Convert
Section titled “Convert”public static readonly Key ConvertConvert key.
Value: Key
public static readonly Key CrSelCrSel key.
Value: Key
Delete
Section titled “Delete”public static readonly Key DeleteDelete key.
Value: Key
DollarSign
Section titled “DollarSign”public static readonly Key DollarSign‘$’ key.
Value: Key
public static readonly Key EndEnd key.
Value: Key
public static readonly Key EnterEnter key.
Value: Key
EqualsSign
Section titled “EqualsSign”public static readonly Key EqualsSign‘=’ key.
Value: Key
EraseEof
Section titled “EraseEof”public static readonly Key EraseEofEraseEof key.
Value: Key
Escape
Section titled “Escape”public static readonly Key EscapeEscape key.
Value: Key
public static readonly Key ExSelExSel key.
Value: Key
ExclamationMark
Section titled “ExclamationMark”public static readonly Key ExclamationMark‘!’ key.
Value: Key
Execute
Section titled “Execute”public static readonly Key ExecuteExecute key.
Value: Key
public static readonly Key F1F1 key.
Value: Key
public static readonly Key F10F10 key.
Value: Key
public static readonly Key F11F12 key.
Value: Key
public static readonly Key F12F11 key.
Value: Key
public static readonly Key F13F13 key.
Value: Key
public static readonly Key F14F14 key.
Value: Key
public static readonly Key F15F15 key.
Value: Key
public static readonly Key F16F16 key.
Value: Key
public static readonly Key F17F17 key.
Value: Key
public static readonly Key F18F18 key.
Value: Key
public static readonly Key F19F19 key.
Value: Key
public static readonly Key F2F2 key.
Value: Key
public static readonly Key F20F20 key.
Value: Key
public static readonly Key F21F21 key.
Value: Key
public static readonly Key F22F22 key.
Value: Key
public static readonly Key F23F23 key.
Value: Key
public static readonly Key F24F24 key.
Value: Key
public static readonly Key F3F3 key.
Value: Key
public static readonly Key F4F4 key.
Value: Key
public static readonly Key F5F5 key.
Value: Key
public static readonly Key F6F6 key.
Value: Key
public static readonly Key F7F7 key.
Value: Key
public static readonly Key F8F8 key.
Value: Key
public static readonly Key F9F9 key.
Value: Key
GreaterThan
Section titled “GreaterThan”public static readonly Key GreaterThan‘>’ key.
Value: Key
public static readonly Key HelpHelp key.
Value: Key
public static readonly Key HomeHome key.
Value: Key
Insert
Section titled “Insert”public static readonly Key InsertInsert key.
Value: Key
LesserThan
Section titled “LesserThan”public static readonly Key LesserThan‘<’ key.
Value: Key
MediaPlayPause
Section titled “MediaPlayPause”public static readonly Key MediaPlayPauseMediaPlayPause key.
Value: Key
MediaStop
Section titled “MediaStop”public static readonly Key MediaStopMediaStop key.
Value: Key
MediaTrackNext
Section titled “MediaTrackNext”public static readonly Key MediaTrackNextMediaTrackNext key.
Value: Key
MediaTrackPrevious
Section titled “MediaTrackPrevious”public static readonly Key MediaTrackPreviousMediaTrackPrevious key.
Value: Key
public static readonly Key MetaMeta key.
Value: Key
MinusSign
Section titled “MinusSign”public static readonly Key MinusSign‘-’ key.
Value: Key
ModeChange
Section titled “ModeChange”public static readonly Key ModeChangeModeChange key.
Value: Key
NonConvert
Section titled “NonConvert”public static readonly Key NonConvertNonConvert key.
Value: Key
NumLock
Section titled “NumLock”public static readonly Key NumLockNumLock key.
Value: Key
NumberSign
Section titled “NumberSign”public static readonly Key NumberSign‘#’ key.
Value: Key
OpenBrackets
Section titled “OpenBrackets”public static readonly Key OpenBrackets‘{’ key.
Value: Key
OpenParentheses
Section titled “OpenParentheses”public static readonly Key OpenParentheses‘(’ key.
Value: Key
OpenSquareBrackets
Section titled “OpenSquareBrackets”public static readonly Key OpenSquareBrackets‘[’ key.
Value: Key
PageDown
Section titled “PageDown”public static readonly Key PageDownPageDown key.
Value: Key
PageUp
Section titled “PageUp”public static readonly Key PageUpPageUp key.
Value: Key
public static readonly Key PausePause key.
Value: Key
Percent
Section titled “Percent”public static readonly Key Percent‘%’ key.
Value: Key
Period
Section titled “Period”public static readonly Key Period‘.’ key.
Value: Key
public static readonly Key Pipe‘|’ key.
Value: Key
public static readonly Key PlayPlay key.
Value: Key
PlusSign
Section titled “PlusSign”public static readonly Key PlusSign‘+’ key.
Value: Key
public static readonly Key PrintPrint key.
Value: Key
PrintScreen
Section titled “PrintScreen”public static readonly Key PrintScreenPrintScreen key.
Value: Key
QuestionMark
Section titled “QuestionMark”public static readonly Key QuestionMark‘?’ key.
Value: Key
ScrollLock
Section titled “ScrollLock”public static readonly Key ScrollLockScrollLock key.
Value: Key
Select
Section titled “Select”public static readonly Key SelectSelect key.
Value: Key
Semicolon
Section titled “Semicolon”public static readonly Key Semicolon‘;’ key.
Value: Key
public static readonly Key ShiftShift key.
Value: Key
public static readonly Key Slash’/’key.
Value: Key
public static readonly Key TabTab key.
Value: Key
public static readonly Key Tilde‘~’ key.
Value: Key
Underscore
Section titled “Underscore”public static readonly Key Underscore‘_’ key.
Value: Key
ZoomOut
Section titled “ZoomOut”public static readonly Key ZoomOutZoomOut key.
Value: Key
Methods
Section titled “Methods”ToString()
Section titled “ToString()”public override string ToString()Returns a string that represents the current object.
Returns: string — A string that represents the current object.
Operators
Section titled “Operators”implicit operator string(Key)
Section titled “implicit operator string(Key)”[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
Made with love by Dario Kondratiuk