Search Results for

    Show / Hide Table of Contents

    Class InputEventArgs

    The InputEventArgs class represents a type of RoutedEventArgs that are relevant to all input events.

    Inheritance
    object
    EventArgs
    RoutedEventArgs
    InputEventArgs
    ButtonEventArgs
    FocusChangedEventArgs
    GenericEventArgs
    InputReportEventArgs
    TouchEventArgs
    Inherited Members
    RoutedEventArgs.OnSetSource(object)
    RoutedEventArgs.RoutedEvent
    RoutedEventArgs.Handled
    RoutedEventArgs.Source
    RoutedEventArgs.OriginalSource
    EventArgs.Empty
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    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

    Extension Methods

    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    In This Article
    Back to top Copyright © 2023 nanoFramework Contributors
    Generated by DocFX