Table of Contents

Property Position

Namespace
Terminal.Gui.Drivers
Assembly
Terminal.Gui.dll

Position

Gets the cursor position in screen coordinates.

public Point? Position { get; init; }

Property Value

Point?

Remarks

Null position indicates the cursor is hidden. When setting, ensure coordinates are in screen space (not content-area or viewport relative). Use View.ContentToScreen() or View.ViewportToScreen() to convert if needed.