Version

HitTestCore(PointHitTestParameters) Method

Determines if the specified point is within the bounds of this element.
Syntax
'Declaration
 
Protected Overloads Overrides Function HitTestCore( _
   ByVal hitTestParameters As PointHitTestParameters _
) As HitTestResult
protected override HitTestResult HitTestCore( 
   PointHitTestParameters hitTestParameters
)

Parameters

hitTestParameters
Specifies the point for the hit test.

Return Value

A System.Windows.Media.HitTestResult indicating the result of the hit test operation.
Remarks

This method is overridden on this class to make sure the element gets mouse messages regardless of whether its background is transparent or not.

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