Show / Hide Table of Contents

    Class HardwareKeyEventArgs

    Hardware key event arguments.

    Inheritance
    Object
    EventArgs
    HardwareKeyEventArgs
    Inherited Members
    EventArgs.Empty
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: Forms9Patch
    Assembly: Forms9Patch.dll
    Syntax
    public class HardwareKeyEventArgs : EventArgs

    Constructors

    HardwareKeyEventArgs(HardwareKey, VisualElement)

    Initializes a new instance of the HardwareKeyEventArgs class.

    Declaration
    public HardwareKeyEventArgs(HardwareKey hardwareKey, VisualElement visualElement)
    Parameters
    Type Name Description
    HardwareKey hardwareKey

    Hardware key.

    VisualElement visualElement

    Visual element.

    Properties

    HardwareKey

    Gets the hardware key that was pressed

    Declaration
    public HardwareKey HardwareKey { get; }
    Property Value
    Type Description
    HardwareKey

    The hardware key.

    VisualElement

    Gets the visual element that is listening for this hardware key press event

    Declaration
    public VisualElement VisualElement { get; }
    Property Value
    Type Description
    VisualElement

    The visual element.

    Extension Methods

    DebugExtensions.AddToCensus(Object)
    DebugExtensions.RemoveFromCensus(Object)
    ReflectionExtensions.GetProperties(Object)
    ReflectionExtensions.GetProperty(Object, String)
    ReflectionExtensions.PropertyNames(Object)
    ReflectionExtensions.PropertyExists(Object, String)
    ReflectionExtensions.HasProperty(Object, String)
    ReflectionExtensions.GetPropertyValue(Object, String)
    ReflectionExtensions.SetPropertyValue(Object, String, Object)
    ReflectionExtensions.GetFieldValue(Object, String)
    ReflectionExtensions.SetFieldValue(Object, String, Object)
    ReflectionExtensions.CallMethod(Object, String, Object[])
    Back to top Copyright © 2018 42nd Parallel