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