Search Results for

    Show / Hide Table of Contents

    Class KeyEventArgs

    Provides data for keyboard key-related events.

    Inheritance
    object
    EventArgs
    KeyEventArgs
    Namespace: Evergine.Common.Input.Keyboard
    Assembly: Evergine.Common.dll
    Syntax
    public class KeyEventArgs : EventArgs

    Constructors

    KeyEventArgs(Keys, bool)

    Initializes a new instance of the KeyEventArgs class.

    Declaration
    public KeyEventArgs(Keys key, bool isDown)
    Parameters
    Type Name Description
    Keys key

    The key associated with the event.

    bool isDown

    Indicates if it is a KeyDown event or not.

    Properties

    IsDown

    Gets a value indicating whether the event was a KeyDown event or not.

    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

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX