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
previousStateWindowSystemStateThe state before the change.
newStateWindowSystemStateThe state after the change.
Properties
ActiveWindowChanged
Whether the active window changed
public bool ActiveWindowChanged { get; }
Property Value
InteractionChanged
Whether the interaction state (drag/resize) changed
public bool InteractionChanged { get; }
Property Value
NewState
The state after the change
public WindowSystemState NewState { get; }
Property Value
PreviousState
The state before the change
public WindowSystemState PreviousState { get; }
Property Value
WindowsChanged
Whether the window collection changed
public bool WindowsChanged { get; }