Viewport3DVisual::HitTest Method (HitTestFilterCallback^, HitTestResultCallback^, HitTestParameters^)

 

Initiate a hit test on the Viewport3DVisual by using the HitTestFilterCallback and HitTestResultCallback objects.

Namespace:   System.Windows.Media.Media3D
Assembly:  PresentationCore (in PresentationCore.dll)

public:
void HitTest(
	HitTestFilterCallback^ filterCallback,
	HitTestResultCallback^ resultCallback,
	HitTestParameters^ hitTestParameters
)

Parameters

filterCallback
Type: System.Windows.Media::HitTestFilterCallback^

Value of type HitTestFilterCallback.

resultCallback
Type: System.Windows.Media::HitTestResultCallback^

Value of type HitTestResultCallback.

hitTestParameters
Type: System.Windows.Media::HitTestParameters^

Value of type HitTestParameters.

The filterCallback parameter can be null, in which case, it is ignored. If filterCallback is not a null reference (Nothing in Visual Basic), it is invoked before resultCallback.

.NET Framework
Available since 3.0
Return to top
Show: