Class HardwareKeyEventArgs
Hardware key event arguments.
Inherited Members
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. |