Version

TestHit Method (Series)

Checks for a matching data item at the given position.
Syntax
'Declaration
 
Public Overridable Function TestHit( _
   ByVal position As Point, _
   ByVal isFinger As Boolean _
) As Boolean
public virtual bool TestHit( 
   Point position,
   bool isFinger
)

Parameters

position
The position to hit test.
isFinger
True if the hit test should be performed as a touch interaction; otherwise, it should be performed as a mouse interaction.

Return Value

True if a matching data item was found; otherwise, False.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also