Click or drag to resize

KeyPressedEventArgs Class

The event arguments for the KeyPressed event.
Inheritance Hierarchy
SystemObject
  DotNetBrowser.Input.Keyboard.EventsKeyEventArgs
    DotNetBrowser.Input.Keyboard.EventsKeyCharEventArgs
      DotNetBrowser.Input.Keyboard.EventsKeyPressedEventArgs

Namespace:  DotNetBrowser.Input.Keyboard.Events
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.20.1
Syntax
C#
public sealed class KeyPressedEventArgs : KeyCharEventArgs, 
	IKeyPressedEventArgs, IKeyCharEventArgs, IKeyEventArgs

The KeyPressedEventArgs type exposes the following members.

Constructors
  NameDescription
Public methodKeyPressedEventArgs
Initializes a new instance of the KeyPressedEventArgs class
Top
Properties
  NameDescription
Public propertyKeyChar
Gets or sets the character associated with this event.
(Inherited from KeyCharEventArgs.)
Public propertyModifiers
Gets or sets the key modifiers.
(Inherited from KeyEventArgs.)
Public propertyVirtualKey
Gets or sets the virtual key code.
(Inherited from KeyEventArgs.)
Top
Methods
  NameDescription
Public methodEquals(Object)
Determines whether the specified object is equal to the current object.
(Inherited from KeyCharEventArgs.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from KeyCharEventArgs.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also