Initializes a new instance of the KeyPressEventArgs class for a character key press
Namespace:
Eto.Forms
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public KeyEventArgs(
Keys keyData,
KeyEventType keyEventType,
Nullable<char> keyChar = null
)
Public Sub New (
keyData As Keys,
keyEventType As KeyEventType,
Optional keyChar As Nullable(Of Char) = Nothing
)
new :
keyData : Keys *
keyEventType : KeyEventType *
?keyChar : Nullable<char>
(* Defaults:
let _keyChar = defaultArg keyChar null
*)
-> KeyEventArgs
Parameters
- keyData
- Type: Eto.FormsKeys
Key and modifiers that were pressed - keyEventType
- Type: Eto.FormsKeyEventType
Type of key event - keyChar (Optional)
- Type: SystemNullableChar
Character equivalent
See Also