Table of Contents

Method OnAdvancingFocus

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

OnAdvancingFocus(NavigationDirection, TabBehavior?)

Called when AdvanceFocus(NavigationDirection, TabBehavior?) is about to advance focus.

protected virtual bool OnAdvancingFocus(NavigationDirection direction, TabBehavior? behavior)

Parameters

direction NavigationDirection
behavior TabBehavior?

Returns

bool

true, if the focus advance is to be cancelled, false otherwise.

Remarks

If a view cancels the event and the focus could not otherwise advance, the Navigation direction will be reversed and the event will be raised again.