Method AdvanceFocus | Terminal.Gui v2 (original) (raw)
Table of Contents
Namespace
Assembly
Terminal.Gui.dll
AdvanceFocus(NavigationDirection, TabBehavior?)
Advances the focus to the next or previous view in the focus chain, based ondirection
. itself.
public bool AdvanceFocus(NavigationDirection direction, TabBehavior? behavior)
Parameters
direction
NavigationDirection
behavior
TabBehavior?
Returns
true if focus was changed to another subview (or stayed on this one), falseotherwise.
Remarks
If there is no next/previous view to advance to, the focus is set to the view itself.
See the View Navigation Deep Dive for more information:https://gui-cs.github.io/Terminal.GuiV2Docs/docs/navigation.html