KeyEventArgs Class

SFML.Net

KeyEventArgs Class
Keyboard event parameters
Inheritance Hierarchy
SystemObject  SystemEventArgs
    SFML.WindowKeyEventArgs

Namespace: SFML.Window
Assembly: sfmlnet-window-2 (in sfmlnet-window-2.dll) Version: 2.2.0.0 (2.2.0)
Syntax
public class KeyEventArgs : EventArgs
Public Class KeyEventArgs
	Inherits EventArgs
public ref class KeyEventArgs : public EventArgs
type KeyEventArgs =  
    class
        inherit EventArgs
    end

The KeyEventArgs type exposes the following members.

Constructors
  NameDescription
Public methodKeyEventArgs
Construct the key arguments from a key event
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 attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(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
Provide a string describing the object
(Overrides ObjectToString.)
Top
Fields
  NameDescription
Public fieldAlt
Is the Alt modifier pressed?
Public fieldCode
Code of the key (see KeyCode enum)
Public fieldControl
Is the Control modifier pressed?
Public fieldShift
Is the Shift modifier pressed?
Public fieldSystem
Is the System modifier pressed?
Top
See Also