Skip to the content.

PromptPlus API:ICursorDrive

Build Publish License NuGet Downloads

Back to List Api

ICursorDrive

Namespace: PPlus

Represents the interface for cursor console.

public interface ICursorDrive

Properties

CursorLeft

Gets the column position of the cursor within the buffer area.

public abstract int CursorLeft { get; }

Property Value

Int32

CursorTop

Gets the row position of the cursor within the buffer area.

public abstract int CursorTop { get; }

Property Value

Int32

CursorVisible

Gets or sets a value indicating whether the cursor is visible.

public abstract bool CursorVisible { get; set; }

Property Value

Boolean

Methods

SetCursorPosition(Int32, Int32)

Sets the position of the cursor.

void SetCursorPosition(int left, int top)

Parameters

left Int32
The column position of the cursor. Columns are numbered from left to right starting at 0.

top Int32
The row position of the cursor. Rows are numbered from top to bottom starting at 0.


Back to List Api