Method OnAdvancingFocus | Terminal.Gui v2 (original) (raw)
Namespace
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
true, if the focus advance is to be cancelled, falseotherwise.
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.