SFML.Net
| KeyEventArgs Class |
Keyboard event parameters
Inheritance HierarchySystemObject SystemEventArgs
SFML.WindowKeyEventArgs
SFML.WindowKeyEventArgs
Namespace: SFML.Window
Assembly: sfmlnet-window-2 (in sfmlnet-window-2.dll) Version: 2.2.0.0 (2.2.0)
SyntaxThe KeyEventArgs type exposes the following members.
Constructors| Name | Description | |
|---|---|---|
![]() | KeyEventArgs |
Construct the key arguments from a key event
|
Methods| Name | Description | |
|---|---|---|
![]() | Equals |
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.) |
![]() | Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) |
![]() | GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) |
![]() | GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
![]() | MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
![]() | ToString |
Provide a string describing the object
(Overrides ObjectToString.) |
Fields| Name | Description | |
|---|---|---|
![]() | Alt | Is the Alt modifier pressed? |
![]() | Code | Code of the key (see KeyCode enum) |
![]() | Control | Is the Control modifier pressed? |
![]() | Shift | Is the Shift modifier pressed? |
![]() | System | Is the System modifier pressed? |
See Also

