GenericDevice Class
NuGet: GHIElectronics.TinyCLR.UI
Assembly: GHIElectronics.TinyCLR.UI
Namespace: GHIElectronics.TinyCLR.UI.Input
The GenericDevice class represents the Generic device to the members of a context.
public sealed class GenericDevice : InputDevice
Properties
Target
public override UIElement Target { get; }
Returns the element that input from this device is sent to.
DeviceType
public override InputManager.InputDeviceType DeviceType { get; }
The input device type for this device.
Methods
SetTarget(UIElement target)
public void SetTarget(UIElement target)
Sets the element that input from this device is sent to.