Retrieves the child control that is located at the specified coordinates.
Syntax
Visual Basic (Declaration) | |
---|
Overloads Public Function GetChildAtPoint( _
ByVal pt As Point _
) As Control |
Parameters
- pt
- A System.Drawing.Point that contains the coordinates where you want to look for a control. Coordinates are expressed relative to the upper-left corner of the control's client area.
Return Value
A
System.Windows.Forms.Control that represents the control that is located at the specified point.
Requirements
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
See Also