Represents a callback that is used to customize hit testing. WPF invokes theto report hit test intersections to the user.
Assembly: PresentationCore (in PresentationCore.dll)
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.
Available since 3.0