Nevron .NET Vision
Nevron.Diagram.WinForm Namespace / NHandle Class / HitTest Method / HitTest(NRectangleF,NHitTestContext) Method
rectangle in scene coordinates
context to use

In This Topic
    HitTest(NRectangleF,NHitTestContext) Method
    In This Topic
    Hit tests the handle by rectangle with the specified context
    Public Overloads Overridable Function HitTest( _
       ByVal rectangle As NRectangleF, _
       ByVal context As NHitTestContext _
    ) As System.Boolean
    Dim instance As NHandle
    Dim rectangle As NRectangleF
    Dim context As NHitTestContext
    Dim value As System.Boolean
    value = instance.HitTest(rectangle, context)
    public virtual System.bool HitTest( 
       NRectangleF rectangle,
       NHitTestContext context


    rectangle in scene coordinates
    context to use

    Return Value

    true if the handle was hit, otherwise false
    This implementation always returns false.

    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