adxCustomePane.Item not available

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

adxCustomePane.Item not available
I can not access TaskPane instances 
Bert Sinnema


Guest


Hello,

Im working on a custom task pane that i want to make visible when i click a button. Of course i want this to be only in the current window. Your documentation states that I can get the taskpane instance by doing the following



// adxCustomePane is the TaskPane that i added as stated in the documentation
ADXTaskPane.ADXCustomTaskPaneInstance x = adxCustomePane.Item(inspector); 


The error i get is as followed:


Error 1 'AddinExpress.MSO.ADXTaskPane' does not contain a definition for 'Item' and no extension method 'Item' accepting a first argument of type 'AddinExpress.MSO.ADXTaskPane' could be found (are you missing a using directive or an assembly reference?) C:\xxxxxxx\AddinModule.cs 135 74 MyTestProject


I'm on Outlook 2013, VS2013 and Add-In Express Pro v7.7.4087.2005
Posted 24 Apr, 2015 05:44:25 Top
Andrei Smolin


Add-in Express team


Posts: 18822
Joined: 2006-05-11
Hello Bert,

Try adxCustomePane[inspector] instead.


Andrei Smolin
Add-in Express Team Leader
Posted 24 Apr, 2015 06:21:06 Top