Class WindowStateEventArgs
- Namespace
- SharpConsoleUI.Core
- Assembly
- SharpConsoleUI.dll
Event arguments for window state (minimize/maximize/restore) changes
public class WindowStateEventArgs : EventArgs
- Inheritance
-
WindowStateEventArgs
- Inherited Members
Constructors
WindowStateEventArgs(Window, WindowState, WindowState)
Initializes a new instance of the WindowStateEventArgs class.
public WindowStateEventArgs(Window window, WindowState previousState, WindowState newState)
Parameters
windowWindowThe window whose state changed.
previousStateWindowStateThe window state before the change.
newStateWindowStateThe window state after the change.
Properties
NewState
The new window state
public WindowState NewState { get; }
Property Value
PreviousState
The previous window state
public WindowState PreviousState { get; }
Property Value
Window
The window whose state changed
public Window Window { get; }