Search Results for

    Show / Hide Table of Contents

    Class KeyEventArgs

    Provides data for keyboard key related events.

    Inheritance
    object
    EventArgs
    KeyEventArgs
    Inherited Members
    EventArgs.Empty
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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

    If its a KeyDown or not.

    Properties

    IsDown

    Gets a value indicating whether the event was a KeyDown 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