Table of Contents

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

window Window

The window involved in the event.

eventType WindowEventType

The type of event that occurred.

data object

Optional additional data for the event.

Properties

Data

Optional additional data for the event

public object? Data { get; }

Property Value

object

EventType

The type of event that occurred

public WindowEventType EventType { get; }

Property Value

WindowEventType

Window

The window involved in the event

public Window Window { get; }

Property Value

Window