Skip to main content

DocumentManager.ScreenToClient(Point) Method

Converts the screen coordinates of a specified point on the screen to client-area coordinates.

Namespace: DevExpress.XtraBars.Docking2010

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public virtual Point ScreenToClient(
    Point screenPoint
)

Parameters

Name Type Description
screenPoint Point

A Point structure that is the screen coordinates to be converted to the screen to client-area coordinates.

Returns

Type Description
Point

A Point structure that specifies coordinates of a specified point on the screen to client-area coordinates.

Remarks

The method uses the area occupied by the current DocumentManager and the screen coordinates given in the screenPoint parameter to compute client coordinates. Coordinates are relative to the upper-left corner of the client area of the specified window.

See Also