Table of Contents

Constructor HasFocusEventArgs

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

HasFocusEventArgs(bool, bool, View, View)

Initializes a new instance.

public HasFocusEventArgs(bool currentHasFocus, bool newHasFocus, View currentFocused, View newFocused)

Parameters

currentHasFocus bool

The current value of HasFocus.

newHasFocus bool

The value HasFocus will have if the event is not cancelled.

currentFocused View

The view that is losing focus.

newFocused View

The view that is gaining focus.