Table of Contents

Class KeyEventArgs

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Contains information about key presses and key states.

public class KeyEventArgs : CustomKeyEventArgs
Inheritance
KeyEventArgs

Constructors

KeyEventArgs()

Constructs an instance of the KeyEventArgs class.

KeyEventArgs(object, Key, KeyStates, ModifierKeys, uint)

Constructs an instance of the KeyEventArgs class.

Properties

IsDown

Gets whether or not the key referenced by the event is down.

IsHandledOrSupressed

Gets whether SuppressKeyPress or Handled is True.

IsRepeat

Gets whether the key pressed is a repeated key or not.

IsToggled

Gets whether or not the key referenced by the event is toggled.

IsUp

Gets whether or not the key referenced by the event is up.

KeyStates

Gets or sets the state of the key referenced by the event.

RepeatCount

Gets or sets key repeat count.

SuppressKeyPress

Gets or sets a value indicating whether the key event should be passed on to the underlying control.

Methods

Suppressed()

Assigns True to SuppressKeyPress and Handled.