Method SetFocus | Terminal.Gui v2 (original) (raw)
Namespace
Assembly
Terminal.Gui.dll
SetFocus()
Causes this view to be focused. Calling this method has the same effect as setting HasFocus totrue but with the added benefit of returning a value indicating whether the focus was set.
public bool SetFocus()
Returns
true if the focus changed; true false otherwise.
Remarks
See the View Navigation Deep Dive for more information:https://gui-cs.github.io/Terminal.GuiV2Docs/docs/navigation.html