Version

HitTest Method (Box)

Indicates whether a point location hits inside of this Box.
Syntax
'Declaration
 
Public Overrides Function HitTest( _
   ByVal point As Point _
) As Boolean
public override bool HitTest( 
   Point point
)

Parameters

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

Return Value

Whether point is inside of the Box, if the Box's Primitive.Caps property is set to include HitTest capabilities, otherwise False.
Requirements

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