Event AdvancingFocus | Terminal.Gui v2 (original) (raw)
Namespace
Assembly
Terminal.Gui.dll
Raised when AdvanceFocus(NavigationDirection, TabBehavior?) is about to advance focus.
public event EventHandler<AdvanceFocusEventArgs>? AdvancingFocus
Returns
EventHandler<AdvanceFocusEventArgs>
Raised when is about to advance focus.
Remarks
Cancel the event to prevent the focus from advancing.
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.