BCGControlBar Library for .NET
ItemFromPoint Method




Point in client coordinates.
If GridDataItem was found, this parameter contains column and row indexes when the function returns.
Returns a GridDataItem object located at the specified point.
Syntax
'Declaration
 
Public Function ItemFromPoint( _
   ByVal pt As Point, _
   ByRef location As Point _
) As GridDataItem
'Usage
 
Dim instance As GridControl
Dim pt As Point
Dim location As Point
Dim value As GridDataItem
 
value = instance.ItemFromPoint(pt, location)
public GridDataItem ItemFromPoint( 
   Point pt,
   ref Point location
)
public: GridDataItem* ItemFromPoint( 
   Point pt,
   ref Point location
) 
public:
GridDataItem^ ItemFromPoint( 
   Point pt,
   Point% location
) 

Parameters

pt
Point in client coordinates.
location
If GridDataItem was found, this parameter contains column and row indexes when the function returns.

Return Value

GridDataItem or null.
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

Reference

GridControl Class
GridControl Members

Send Feedback