Table of Contents

Method OnHasFocusChanged

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

OnHasFocusChanged(bool, View?, View?)

Invoked after HasFocus has changed. This method is called before the HasFocusChanged event is raised.

protected virtual void OnHasFocusChanged(bool newHasFocus, View? previousFocusedView, View? focusedView)

Parameters

newHasFocus bool

The new value of HasFocus.

previousFocusedView View
focusedView View

The view that is now focused. May be null

Remarks

This event cannot be cancelled.