CursorDirection Enum

Represents cursor direction.
public enum CursorDirection
Namespace
Spectre.Console
Interfaces
  • IComparable
  • ISpanFormattable
  • IFormattable
  • IConvertible
Base Types
  • ValueType
  • Enum

Fields

Up
0
Moves cursor up.
1
Moves cursor down.
2
Moves cursor left.
3
Moves cursor right.

Extension Methods

T And<CursorDirection>(Action<CursorDirection>)
Performs the specified action on the given object and then returns the object. Useful for fluent testing patterns where additional assertions or operations are chained together in a readable manner.