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.Gui/docs/navigation.html