Nevron .NET Vision
Nevron.Diagram.WinForm Namespace / NView Class / HitTest Method / HitTest(NPointF,Int32,INFilter,NHitTestContext) Method
point in device coordinates
depth in which to traverse the tree or -1 if the entire subtree should be traversed
filter to use. null value is equal to a constant true filter.
hit test context


In This Topic
    HitTest(NPointF,Int32,INFilter,NHitTestContext) Method
    In This Topic
    Hit tests by point all node descendants, which satisfy the specified filter
    Syntax
    'Declaration
     
    
    Public Overloads Overridable Function HitTest( _
       ByVal point As NPointF, _
       ByVal depth As System.Integer, _
       ByVal filter As INFilter, _
       ByVal context As NHitTestContext _
    ) As NNodeList
    'Usage
     
    
    Dim instance As NView
    Dim point As NPointF
    Dim depth As System.Integer
    Dim filter As INFilter
    Dim context As NHitTestContext
    Dim value As NNodeList
     
    value = instance.HitTest(point, depth, filter, context)
    public virtual NNodeList HitTest( 
       NPointF point,
       System.int depth,
       INFilter filter,
       NHitTestContext context
    )

    Parameters

    point
    point in device coordinates
    depth
    depth in which to traverse the tree or -1 if the entire subtree should be traversed
    filter
    filter to use. null value is equal to a constant true filter.
    context
    hit test context

    Return Value

    list of hit nodes
    Requirements

    Target Platforms: 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

    See Also