Version

HitTest Method (Primitive)

Indicates whether a point location hits this Primitive.
Syntax
'Declaration
 
Public Overridable Function HitTest( _
   ByVal point As Point _
) As Boolean
public virtual bool HitTest( 
   Point point
)

Parameters

point
Point location (such as a mouse click location) to test for a hit.

Return Value

This method always returns False.
Remarks

When implemented by a subclass, this method indicates that the specified point is within the confines of this Primitive.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, 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