Nevron .NET Vision
Nevron.Diagram.WinForm Namespace / NView Class / LastHit 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
    LastHit Method (NView)
    In This Topic
    Returns the last hit descendant by point, which statisfies the specified filter
    Syntax
    'Declaration
     
    
    Public Overridable Function LastHit( _
       ByVal point As NPointF, _
       ByVal depth As System.Integer, _
       ByVal filter As INFilter, _
       ByVal context As NHitTestContext _
    ) As INNode
    '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 INNode
     
    value = instance.LastHit(point, depth, filter, context)
    public virtual INNode LastHit( 
       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

    hit node, or null if there is not hit node
    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