[]
Creates a Keystroke object from a character.
public Keystroke CreateKeystroke(char keyChar)
Public Function CreateKeystroke(keyChar As Char) As Keystroke
Type | Name | Description |
---|---|---|
char | keyChar | Character for the keystroke |
Type | Description |
---|---|
Keystroke | A new Keystroke object. |
Creates a Keystroke object from a key code and modifiers.
public Keystroke CreateKeystroke(Keys keyCode, Keys modifiers)
Public Function CreateKeystroke(keyCode As Keys, modifiers As Keys) As Keystroke
Type | Name | Description |
---|---|---|
Keys | keyCode | Key code for the keystroke |
Keys | modifiers | Modifier keys for the keystroke |
Type | Description |
---|---|
Keystroke | A new Keystroke object. |
Creates a Keystroke object from a key code and modifiers.
public Keystroke CreateKeystroke(Keys keyCode, Keys modifiers, bool onKeyRelease)
Public Function CreateKeystroke(keyCode As Keys, modifiers As Keys, onKeyRelease As Boolean) As Keystroke
Type | Name | Description |
---|---|---|
Keys | keyCode | Key code for the keystroke |
Keys | modifiers | Modifier keys for the keystroke |
bool | onKeyRelease | Whether the keystroke is active on key release |
Type | Description |
---|---|
Keystroke | A new Keystroke object. |