Dela via


Pointer.IsInRange Property

Definition

Gets a value that indicates whether the pointer device is within detection range of a sensor or digitizer.

public:
 property bool IsInRange { bool get(); };
bool IsInRange();
public bool IsInRange { get; }
var boolean = pointer.isInRange;
Public ReadOnly Property IsInRange As Boolean

Property Value

Boolean

bool

true if touch or pen is within detection range or mouse is over; otherwise false

Remarks

A pointer comes into existence when the pointer device enters detection range and is canceled when the pointer device leaves detection range.

Applies to