StylusDevice.InRange Property

 

Gets a value that indicates whether the tablet pen is in range of the digitizer.

Namespace:   System.Windows.Input
Assembly:  PresentationCore (in PresentationCore.dll)

public bool InRange { get; }

Property Value

Type: System.Boolean

true if the pen is within range of the digitizer; otherwise, false. The default is false.

The following example demonstrates the InRange property.

textbox1.AppendText("InRange: " + myStylusDevice.InRange.ToString() + "\n");

.NET Framework
Available since 3.0
Return to top
Show: