Table of Contents

Class ControlFocusEventArgs

Namespace
SharpConsoleUI.Core
Assembly
SharpConsoleUI.dll

Event arguments for control focus events

public class ControlFocusEventArgs : EventArgs
Inheritance
ControlFocusEventArgs
Inherited Members

Constructors

ControlFocusEventArgs(IInteractiveControl, Window, FocusChangeReason)

Initializes a new instance of the ControlFocusEventArgs class.

public ControlFocusEventArgs(IInteractiveControl control, Window window, FocusChangeReason reason)

Parameters

control IInteractiveControl

The control involved in the focus change.

window Window

The window containing the control.

reason FocusChangeReason

The reason for the focus change.

Properties

Control

The control involved in the focus change

public IInteractiveControl Control { get; }

Property Value

IInteractiveControl

Reason

The reason for the focus change

public FocusChangeReason Reason { get; }

Property Value

FocusChangeReason

Window

The window containing the control

public Window Window { get; }

Property Value

Window