Class KeyEventArgs
Provides data for keyboard key related events.
Inherited Members
Namespace: Evergine.Common.Input.Keyboard
Assembly: Evergine.Common.dll
Syntax
public class KeyEventArgs : EventArgs
Constructors
KeyEventArgs(Keys, bool)
Initializes a new instance of the Key
Declaration
public KeyEventArgs(Keys key, bool isDown)
Parameters
Type | Name | Description |
---|---|---|
Keys | key | The key associated with the event. |
bool | isDown | If its a Key |
Properties
IsDown
Gets a value indicating whether the event was a Key
Declaration
public bool IsDown { get; }
Property Value
Type | Description |
---|---|
bool |
Key
Gets the key associated with the event.
Declaration
public Keys Key { get; }
Property Value
Type | Description |
---|---|
Keys |