Programatically add and remove Sections in OutlookBar

Dec 8, 2009 at 6:14 PM
Edited Dec 8, 2009 at 10:33 PM

Hello,

Is it possible to add and remove sections from the outlookbar at runtime in code? I have tried changing the content object in the OutlookSection but it doesn't seem to refresh afterwards. Is there anything else I have to do to get this working?

Thanks,

Bryce Blake

May 13, 2010 at 7:27 PM

curSection = new OutlookSection(); 

curSection.Name = "section123";                                          

 OutlookBarMenu.Sections.Add(curSection);