Table of Contents

Class WindowSystemStateChangedEventArgs

Namespace
SharpConsoleUI.Core
Assembly
SharpConsoleUI.dll

Event arguments for window system state changes. Provides both previous and new state for comparison.

public class WindowSystemStateChangedEventArgs : EventArgs
Inheritance
WindowSystemStateChangedEventArgs
Inherited Members

Constructors

WindowSystemStateChangedEventArgs(WindowSystemState, WindowSystemState)

Initializes a new instance of the WindowSystemStateChangedEventArgs class.

public WindowSystemStateChangedEventArgs(WindowSystemState previousState, WindowSystemState newState)

Parameters

previousState WindowSystemState

The state before the change.

newState WindowSystemState

The state after the change.

Properties

ActiveWindowChanged

Whether the active window changed

public bool ActiveWindowChanged { get; }

Property Value

bool

InteractionChanged

Whether the interaction state (drag/resize) changed

public bool InteractionChanged { get; }

Property Value

bool

NewState

The state after the change

public WindowSystemState NewState { get; }

Property Value

WindowSystemState

PreviousState

The state before the change

public WindowSystemState PreviousState { get; }

Property Value

WindowSystemState

WindowsChanged

Whether the window collection changed

public bool WindowsChanged { get; }

Property Value

bool