Table of Contents

Class WindowActivatedEventArgs

Namespace
SharpConsoleUI.Core
Assembly
SharpConsoleUI.dll

Event arguments for window activation changes

public class WindowActivatedEventArgs : EventArgs
Inheritance
WindowActivatedEventArgs
Inherited Members

Constructors

WindowActivatedEventArgs(Window?, Window?)

Initializes a new instance of the WindowActivatedEventArgs class.

public WindowActivatedEventArgs(Window? previousWindow, Window? newWindow)

Parameters

previousWindow Window

The window that was deactivated, or null if no window was previously active.

newWindow Window

The window that is now active, or null if no window is active.

Properties

NewWindow

The window that is now active (may be null if no window is active)

public Window? NewWindow { get; }

Property Value

Window

PreviousWindow

The window that was deactivated (may be null)

public Window? PreviousWindow { get; }

Property Value

Window