I found this post, which describes the basic problem, but it is closed:
Reading it gave me a good idea though. Instead of double-clicking on the script icon in Unity, I brought up VS2019 and browsed to the Solution file and opened it. Now it is providing auto completion for the UnityEngine.UI elements of the code.
In the 2D lectures I can see he is simply double-clicking on the script icon and getting this to work, so it sounds like there is a configuration in either Unity or Visual Studio 2019 that needs to be set for this.
Any suggestions as to what needs to be set where?
Mike