Table of Contents

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

window Window

The window whose state changed.

previousState WindowState

The window state before the change.

newState WindowState

The window state after the change.

Properties

NewState

The new window state

public WindowState NewState { get; }

Property Value

WindowState

PreviousState

The previous window state

public WindowState PreviousState { get; }

Property Value

WindowState

Window

The window whose state changed

public Window Window { get; }

Property Value

Window