Specifies the return behavior of a hit test in a hit test filter callback method.
Assembly: PresentationCore (in PresentationCore.dll)
|Hit test against the current Visual, but not its descendants.|
|Do not hit test against the current Visual or its descendants.|
|Do not hit test against the current Visual, but hit test against its descendants.|
|Hit test against the current Visual and its descendants.|
|Stop hit testing at the current Visual.|
The return value of the hit test filter callback is a , which determines what type of action should be taken when processing the visual tree for hit testing. For example, if your hit test filter callback return the value, , you can remove the current visual object and its descendants from the hit test results evaluation.
Pruning the visual tree of objects decreases the amount of processing that is required during the hit test results evaluation pass.
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
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.