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
controlIInteractiveControlThe control involved in the focus change.
windowWindowThe window containing the control.
reasonFocusChangeReasonThe reason for the focus change.
Properties
Control
The control involved in the focus change
public IInteractiveControl Control { get; }
Property Value
Reason
The reason for the focus change
public FocusChangeReason Reason { get; }
Property Value
Window
The window containing the control
public Window Window { get; }