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
System.Object
System.EventArgs
KeyPressEventArgs
Inherited Members
System.EventArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: OpenTK
Assembly: cs.temp.dll.dll
Syntax
public class KeyPressEventArgs : EventArgs

Constructors

KeyPressEventArgs(Char)

Constructs a new instance.

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

The ASCII character that was typed.

Properties

KeyChar

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

Declaration
public char KeyChar { get; }
Property Value
Type Description
System.Char
Back to top Copyright © 2015-2017 Microsoft
Generated by DocFX