Click or drag to resize

KeyPressEvent Class

Provides data for the key press event.
Inheritance Hierarchy
SystemObject
  NeoAxisKeyPressEvent

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public class KeyPressEvent

The KeyPressEvent type exposes the following members.

Constructors
  NameDescription
Public methodKeyPressEvent
Initializes a new instance of the KeyPressEvent class.
Top
Properties
  NameDescription
Public propertyKeyChar
Gets the character corresponding to the key pressed.
Remarks
The ASCII character that is composed. For example, if the user presses SHIFT + K, this property returns an uppercase K.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
See Also