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
previousWindowWindowThe window that was deactivated, or null if no window was previously active.
newWindowWindowThe 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
PreviousWindow
The window that was deactivated (may be null)
public Window? PreviousWindow { get; }