Event HasFocusChanging | Terminal.Gui v2 (original) (raw)
Namespace
Assembly
Terminal.Gui.dll
Raised when HasFocus is about to change.
public event EventHandler<HasFocusEventArgs>? HasFocusChanging
Returns
EventHandler<HasFocusEventArgs>
Raised when is about to change.
Remarks
Cancel the event to prevent the focus from changing.
Use HasFocusChanged to be notified after the focus has changed.