Skip to main content

TouchDevice Class

NuGet: GHIElectronics.TinyCLR.UI
Assembly: GHIElectronics.TinyCLR.UI
Namespace: GHIElectronics.TinyCLR.UI.Input

The TouchDevice class represents the stylus/touch device to the members of a context.

public sealed class TouchDevice : 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.