Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DockManager.GetDockPanelAtPos(Point) Method

Returns the panel located under the specified point.

Namespace: DevExpress.XtraBars.Docking

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public DockPanel GetDockPanelAtPos(
    Point ptScreen
)

#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