Show / Hide Table of Contents

Class KeyEventArgs

Provides data for the KeyDown or KeyUp event.

Inheritance
System.Object
System.EventArgs
KeyEventArgs
Inherited Members
System.EventArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Fusee.Engine.Common
Assembly: Fusee.Engine.Common.dll
Syntax
public class KeyEventArgs : EventArgs

Properties

Alt

Gets and sets a value indicating whether this KeyEventArgs is alt.

Declaration
public bool Alt { get; set; }
Property Value
Type Description
System.Boolean

true if alt; otherwise, false.

Control

Gets and sets a value indicating whether this KeyEventArgs is control.

Declaration
public bool Control { get; set; }
Property Value
Type Description
System.Boolean

true if control; otherwise, false.

KeyCode

Gets and sets the key code.

Declaration
public KeyCodes KeyCode { get; set; }
Property Value
Type Description
KeyCodes

The key code.

Shift

Gets and sets a value indicating whether this KeyEventArgs is shift.

Declaration
public bool Shift { get; set; }
Property Value
Type Description
System.Boolean

true if shift; otherwise, false.

Generated by DocFX
GitHub Repo
Back to top