Show / Hide Table of Contents

Class KeyPressEventArgs

Defines the event arguments for KeyPress events. Instances of this class are cached: KeyPressEventArgs should only be used inside the relevant event, unless manually cloned.

Inheritance
Object
EventArgs
KeyPressEventArgs
Inherited Members
EventArgs.Empty
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: OpenTK
Assembly: OpenTK.dll
Syntax
public class KeyPressEventArgs : EventArgs

Constructors

KeyPressEventArgs(Char)

Constructs a new instance.

Declaration
public KeyPressEventArgs(char keyChar)
Parameters
Type Name Description
Char keyChar

The ASCII character that was typed.

Properties

KeyChar

Gets a Char that defines the ASCII character that was typed.

Declaration
public char KeyChar { get; }
Property Value
Type Description
Char
In This Article
Back to top Generated by DocFX