Show / Hide Table of Contents

Class StylusDevice

Reports stylus device information, such as the collection of stylus points associated with the input.

Inheritance
System.Object
StylusDevice
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Input
Assembly: OpenSilver.dll
Syntax
public sealed class StylusDevice

Properties

| Improve this Doc View Source

DeviceType

Gets the type of the tablet device.

Declaration
[NotImplemented]
public TabletDeviceType DeviceType { get; }
Property Value
Type Description
TabletDeviceType

The type of the tablet device.

| Improve this Doc View Source

Inverted

Gets or sets a value that indicates whether the stylus is inverted.

Declaration
[NotImplemented]
public bool Inverted { get; }
Property Value
Type Description
System.Boolean

true if the stylus is inverted; otherwise, false. The default is false.

Methods

| Improve this Doc View Source

GetStylusPoints(UIElement)

Returns the stylus points collected since the last mouse event.

Declaration
public StylusPointCollection GetStylusPoints(UIElement relativeTo)
Parameters
Type Name Description
UIElement relativeTo

Specifies the offset for the object (typically an InkPresenter) that should be applied to captured points.

Returns
Type Description
StylusPointCollection

A collection of the stylus points collected since the last mouse event.

  • Improve this Doc
  • View Source