RawInputEventArgs Class

Summary

A raw input event.
Namespace
Avalonia.Input.Raw
Base Types
  • object
  • EventArgs
Derived Types
graph BT Type-->Base0["EventArgs"] Base0-->Base1["object"] Type["RawInputEventArgs"] class Type type-node Derived0["RawPointerEventArgs"]-->Type click Derived0 "/api/Avalonia.Input.Raw/RawPointerEventArgs" Derived1["RawKeyEventArgs"]-->Type click Derived1 "/api/Avalonia.Input.Raw/RawKeyEventArgs" Derived2["RawTextInputEventArgs"]-->Type click Derived2 "/api/Avalonia.Input.Raw/RawTextInputEventArgs" Derived3["RawDragEvent"]-->Type click Derived3 "/api/Avalonia.Input.Raw/RawDragEvent"

Syntax

public class RawInputEventArgs : EventArgs

Remarks

Raw input events are sent from the windowing subsystem to the InputManager for processing: this gives an application the opportunity to pre-process the event. After pre-processing they are consumed by the relevant Device and turned into standard Avalonia events.

Constructors

Name Summary
RawInputEventArgs(IInputDevice, ulong, IInputRoot) Initializes a new instance of the RawInputEventArgs class.

Properties

Name Value Summary
Device IInputDevice
Gets the associated device.
Handled bool
Gets or sets a value indicating whether the event was handled.
Root IInputRoot
Gets the root from which the event originates.
Timestamp ulong
Gets the timestamp associated with the event.