Returns focus to Designer. Focus may be lost when plug-in components are opened/closed. Returning focus is essential to continue using Designer hotkeys like Ctrl+Z (undo), Ctrl+Y (redo), etc.
'Declaration
Public Function Focus() As Task
Return Value
A
System.Threading.Tasks.Task that represents the asynchronous operation of restoring focus to the Designer.