NevronOpenVision
Nevron.Nov.Dom Namespace / NVisualTreeHelpers Class / HitTestTopMostByRegion Method / HitTestTopMostByRegion(NVisual,NRegion,INFilter<NVisual>) Method
visual root to hit test
path in visualRoot coordinates with which to hit test
filter for the visuals that need to be hit tested.
In This Topic
    HitTestTopMostByRegion(NVisual,NRegion,INFilter<NVisual>) Method
    In This Topic
    Hit tests the top most visual that resides in the specified visual root.
    Syntax
    public static NVisual HitTestTopMostByRegion( 
       NVisual visualRoot,
       NRegion regionInRoot,
       INFilter<NVisual> filter
    )

    Parameters

    visualRoot
    visual root to hit test
    regionInRoot
    path in visualRoot coordinates with which to hit test
    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