Table of Contents

Method ScreenToContent

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

ScreenToContent(in Point)

Converts a Screen-relative coordinate to a Content-relative coordinate.

public Point ScreenToContent(in Point location)

Parameters

location Point

The Screen-relative location.

Returns

Point

The coordinate relative to this view's Content.

Remarks

Content-relative means relative to the top-left corner of the view's Content, which is always at 0, 0.