Table of Contents

Interface ILogicalCursorProvider

Namespace
SharpConsoleUI.Controls
Assembly
SharpConsoleUI.dll

Interface for controls that can provide logical cursor positions.

public interface ILogicalCursorProvider

Methods

GetLogicalCursorPosition()

Gets the logical cursor position within the control's content coordinate system. This should be the raw position without any visual adjustments for margins, scrolling, etc.

Point? GetLogicalCursorPosition()

Returns

Point?

Logical cursor position or null if no cursor.

SetLogicalCursorPosition(Point)

Sets the logical cursor position within the control's content coordinate system.

void SetLogicalCursorPosition(Point position)

Parameters

position Point