Select to view content in your preferred language

How do you close a dockpane or deactivate it using a button on the dockpane

931
2
10-08-2018 10:55 AM
MichaelStranovsky
Regular Contributor

I created a dockpane with a cancel button,   I want to close (not hide) the dockpane when I click cancel.

0 Kudos
2 Replies
Amadeus111
Frequent Contributor

Is there a specific reason you want to close it with a cancel button? It comes with a closing control already. 

0 Kudos
GKmieliauskas
Esri Regular Contributor

Hi Michael,

I use the same Add-ins button to open or close dockpane. To close dockpane just call Hide();

0 Kudos