Close and Reopen ADXExcelTaskPanesCollectionItem

Add-in Express™ Support Service
That's what is more important than anything else

Close and Reopen ADXExcelTaskPanesCollectionItem
 
mantooth




Posts: 13
Joined: 2014-05-18
I have an add in module that utilizes a TaskPane and would like the user to be able to shut down the task pane completely and reopen when desired.

I am able to shut down the TaskPane with the Close method (wired into ADXCloseButtonClick), but once closed I'm not sure how to bring it back.

I have a ribbon button that will display the menu if available, but I'd rather that button create the task pane from scratch. Since all the TaskPane construction logic is in the AddInModules InitializeComponent() method, what is the recommended way to do this?
Posted 26 Jun, 2015 10:35:49 Top
Andrei Smolin


Add-in Express team


Posts: 18830
Joined: 2006-05-11
Hello,

Please check section Controlling Form visibility at https://www.add-in-express.com/docs/net-outlook-regions-panes-ui.php#controlling-form-visibility. Also, see the sample labelled "How to make an Excel task pane visible / invisible programmatically" at https://www.add-in-express.com/support/csharp-excel.php#task-panes.


Andrei Smolin
Add-in Express Team Leader
Posted 29 Jun, 2015 03:13:55 Top