I am creating some tools nested in a Dockpane. I would like to see if I can detect the status of the Dockpane. Whether Dockpane is on and in the main view or not turned on at all and it needs to be turned on via Add-In tab.
When a user initiates it, some layers will be added to TOC automatically. However, if it is already on and ready user will load the layers manually via a button maybe.
My idea is to give a better experience to end-users. When a user initiates the Dockpane s/he most likely to use those layers however if the Dockpane is on when Pro started it does not mean a user will utilize those layers or the tools within the Dockpane.
Please let me know if you have a better/alternative way to handle this type of situation.