RawGenericInputReport Class
NuGet: GHIElectronics.TinyCLR.UI
Assembly: GHIElectronics.TinyCLR.UI
Namespace: GHIElectronics.TinyCLR.UI.Input
The RawGenericInputReport class encapsulates the raw input provided from a keyboard.
public class RawGenericInputReport : InputReport
Constructors
RawGenericInputReport(PresentationSource inputSource, GenericEvent genericEvent)
public RawGenericInputReport(PresentationSource inputSource, GenericEvent genericEvent) : base(inputSource, genericEvent.Time)
Constructs an instance of the RawKeyboardInputReport class.
| Parameter | Type | Description |
|---|---|---|
inputSource | PresentationSource | source of the input |
genericEvent | GenericEvent |
RawGenericInputReport(PresentationSource inputSource, GenericEvent genericEvent, UIElement destTarget)
public RawGenericInputReport(PresentationSource inputSource, GenericEvent genericEvent, UIElement destTarget) : base(inputSource, genericEvent.Time)
Constructs an instance of the RawGenericInputReport class targeting a specific element.
Fields
Target
public readonly UIElement Target
Read-only access to the element this report is directed at, or null.
InternalEvent
public readonly GenericEvent InternalEvent
Read-only access to the underlying generic event.