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

131
2
10-08-2018 10:55 AM
Highlighted
Occasional 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
Highlighted
New Contributor III

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

0 Kudos
Highlighted
Regular Contributor

Hi Michael,

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

0 Kudos