AnsweredAssumed Answered

ArcGIS Pro Dockpane - Set Position/Width/Height Via Code

Question asked by nautachris on May 7, 2018
Latest reply on Aug 15, 2018 by mjk5000

Can you programmatically set the position/width/height of a floating dockpane, or can this only be controlled in the DAML file?   I have a number of dockpanes that have their position set to float, to sort of act like a modal window.  I know that "closing" and "opening" these panes are simply toggling their visibility, so if a user drags a floating pane somewhere then closes it, it will appear at that same location the next time the user clicks a button to display the pane.  Is there a way I can reset the position so it reappears at the center of the screen?

 

Thanks!

 

Chris

Outcomes