C# Class SFML.Window.KeyEventArgs

Keyboard event parameters
Inheritance: System.EventArgs
Exibir arquivo Open project: SFML/SFML.Net Class Usage Examples

Public Properties

Property Type Description
Alt bool
Code Keyboard.Key
Control bool
Shift bool
System bool

Public Methods

Method Description
KeyEventArgs ( KeyEvent e ) : System

Construct the key arguments from a key event

ToString ( ) : string

Provide a string describing the object

Method Details

KeyEventArgs() public method

Construct the key arguments from a key event
public KeyEventArgs ( KeyEvent e ) : System
e KeyEvent Key event
return System

ToString() public method

Provide a string describing the object
public ToString ( ) : string
return string

Property Details

Alt public_oe property

Is the Alt modifier pressed?
public bool Alt
return bool

Code public_oe property

Code of the key (see KeyCode enum)
public Keyboard.Key Code
return Keyboard.Key

Control public_oe property

Is the Control modifier pressed?
public bool Control
return bool

Shift public_oe property

Is the Shift modifier pressed?
public bool Shift
return bool

System public_oe property

Is the System modifier pressed?
public bool System
return bool