Table of Contents

Class CursorStateChangedEventArgs

Namespace
SharpConsoleUI.Core
Assembly
SharpConsoleUI.dll

Event arguments for cursor state changes

public class CursorStateChangedEventArgs : EventArgs
Inheritance
CursorStateChangedEventArgs
Inherited Members

Constructors

CursorStateChangedEventArgs(CursorState, CursorState)

Initializes a new instance of the CursorStateChangedEventArgs class.

public CursorStateChangedEventArgs(CursorState previousState, CursorState newState)

Parameters

previousState CursorState

The previous cursor state before the change.

newState CursorState

The new cursor state after the change.

Properties

NewState

The new cursor state

public CursorState NewState { get; }

Property Value

CursorState

OwnerChanged

Whether the owner changed

public bool OwnerChanged { get; }

Property Value

bool

PositionChanged

Whether the position changed

public bool PositionChanged { get; }

Property Value

bool

PreviousState

The previous cursor state

public CursorState PreviousState { get; }

Property Value

CursorState

VisibilityChanged

Whether the visibility changed

public bool VisibilityChanged { get; }

Property Value

bool