DockManager.GetDockPanelAtPos(Point) Method

Returns the panel located under the specified point.

Namespace: DevExpress.XtraBars.Docking

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

public DockPanel GetDockPanelAtPos(
    Point ptScreen
)
Public Function GetDockPanelAtPos(
    ptScreen As Point
) As DockPanel

Parameters

Name Type Description
ptScreen Point

A Point structure representing the test point's coordinates relative to the top-left corner of the screen.

Returns

Type Description
DockPanel

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.

Remarks

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.

See Also