Class InputEventArgs
The InputEventArgs class represents a type of RoutedEventArgs that are relevant to all input events.
Inheritance
InputEventArgs
Inherited Members
Namespace: nanoFramework.UI.Input
Assembly: nanoFramework.Graphics.dll
Syntax
public class InputEventArgs : RoutedEventArgs
Constructors
InputEventArgs(InputDevice, DateTime)
Initializes a new instance of the InputEventArgs class.
Declaration
public InputEventArgs(InputDevice inputDevice, DateTime timestamp)
Parameters
Type | Name | Description |
---|---|---|
InputDevice | inputDevice | The input device to associate with this event. |
DateTime | timestamp | The time when the input occured. |
Fields
Timestamp
Read-only access to the input timestamp.
Declaration
public readonly DateTime Timestamp
Field Value
Type | Description |
---|---|
DateTime |
Properties
Device
Read-only access to the input device that initiated this event.
Declaration
public InputDevice Device { get; }
Property Value
Type | Description |
---|---|
InputDevice |