Table of Contents

Class InteractionStateChangedEventArgs

Namespace
SharpConsoleUI.Core
Assembly
SharpConsoleUI.dll

Event arguments for interaction (drag/resize) state changes

public class InteractionStateChangedEventArgs : EventArgs
Inheritance
InteractionStateChangedEventArgs
Inherited Members

Constructors

InteractionStateChangedEventArgs(InteractionState, InteractionState)

Initializes a new instance of the InteractionStateChangedEventArgs class.

public InteractionStateChangedEventArgs(InteractionState previousState, InteractionState newState)

Parameters

previousState InteractionState

The interaction state before the change.

newState InteractionState

The interaction state after the change.

Properties

DragEnded

Whether a drag operation ended

public bool DragEnded { get; }

Property Value

bool

DragStarted

Whether a drag operation started

public bool DragStarted { get; }

Property Value

bool

NewState

The new interaction state

public InteractionState NewState { get; }

Property Value

InteractionState

PreviousState

The previous interaction state

public InteractionState PreviousState { get; }

Property Value

InteractionState

ResizeEnded

Whether a resize operation ended

public bool ResizeEnded { get; }

Property Value

bool

ResizeStarted

Whether a resize operation started

public bool ResizeStarted { get; }

Property Value

bool