Class WindowEventArgs
- Namespace
- SharpConsoleUI.Core
- Assembly
- SharpConsoleUI.dll
Event arguments for individual window events
public class WindowEventArgs : EventArgs
- Inheritance
-
WindowEventArgs
- Inherited Members
Constructors
WindowEventArgs(Window, WindowEventType, object?)
Initializes a new instance of the WindowEventArgs class.
public WindowEventArgs(Window window, WindowEventType eventType, object? data = null)
Parameters
windowWindowThe window involved in the event.
eventTypeWindowEventTypeThe type of event that occurred.
dataobjectOptional additional data for the event.
Properties
Data
Optional additional data for the event
public object? Data { get; }
Property Value
EventType
The type of event that occurred
public WindowEventType EventType { get; }
Property Value
Window
The window involved in the event
public Window Window { get; }