HitTestResultCallback Delegate
.NET Framework (current version)
Represents a callback that is used to customize hit testing. WPF invokes the HitTestResultCallback to report hit test intersections to the user.
Assembly: PresentationCore (in PresentationCore.dll)
Parameters
- result
-
Type:
System.Windows.Media::HitTestResult^
The HitTestResult value that represents a visual object that is returned from a hit test.
Return Value
Type: System.Windows.Media::HitTestResultBehaviorA HitTestFilterBehavior that represents the action resulting from the hit test.
The hit test callback method defines the actions that you perform when a hit test is identified on a particular visual object in the visual tree. After you perform the actions, your callback is expected to return a HitTestResultBehavior value that determines whether to continue iterating through the visual tree for any other visual objects.
.NET Framework
Available since 3.0
Available since 3.0
Show: