Returns the panel located under the specified point.
public DockPanel GetDockPanelAtPos( Point ptScreen )
Public Function GetDockPanelAtPos( ptScreen As Point ) As DockPanel
A Point structure representing the test point’s coordinates relative to the top-left corner of the screen.
A DockPanel object representing the dock panel located under the specified point. null (Nothing in Visual Basic) if no dock panel is located under the test point.
Use the GetDockPanelAtPos method to obtain the dock panel located at the specified screen coordinates.
To get details on the panel’s element which is located under the test point, use the DockPanel.GetHitInfo method.