Nevron .NET Vision
Nevron.UI.WinForm.Controls Namespace / NItemsControl Class / ItemFromPoint Method / ItemFromPoint(NPoint,Boolean) Method
The point to examine.
True to get the direct item that is under the point, false to get the first topmost item that contains the point.


In This Topic
    ItemFromPoint(NPoint,Boolean) Method
    In This Topic
    Gets the item that is under the specified point (in client coordinates).
    Syntax
    'Declaration
     
    
    Public Overloads Overridable Function ItemFromPoint( _
       ByVal pt As NPoint, _
       ByVal direct As System.Boolean _
    ) As NLightUIItem
    'Usage
     
    
    Dim instance As NItemsControl
    Dim pt As NPoint
    Dim direct As System.Boolean
    Dim value As NLightUIItem
     
    value = instance.ItemFromPoint(pt, direct)
    public virtual NLightUIItem ItemFromPoint( 
       NPoint pt,
       System.bool direct
    )

    Parameters

    pt
    The point to examine.
    direct
    True to get the direct item that is under the point, false to get the first topmost item that contains the point.
    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