NevronOpenVision
Nevron.Nov.Dom Namespace / NVisualTreeHelpers Class / HitTestTopMostByPoint Method / HitTestTopMostByPoint(NVisual,NPoint,INFilter<NVisual>) Method
visual root to hit test
point in visualRoot coordinates
filter for the visuals that need to be hit tested.
HitTestTopMostByPoint(NVisual,NPoint,INFilter<NVisual>) Method
Hit tests the top most visual that resides in the specified visual root.
Syntax
public static NVisual HitTestTopMostByPoint( 
   NVisual visualRoot,
   NPoint pointInRoot,
   INFilter<NVisual> filter
)

Parameters

visualRoot
visual root to hit test
pointInRoot
point in visualRoot coordinates
filter
filter for the visuals that need to be hit tested.

Return Value

the top most hit
Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

See Also