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