I have a ribbon specified as a Region in my shell, and i need to populate multiple tabitems from each of my module. So i have implemented a region adapter(found in one of the forums) and the adapter is supposed to add the tabs from each module to the ribbon. But the ribbon is displaying only one tab item. Can any one help ? I have attached the ribbon region adapter.
and the module controller code looks like this
regionManager.RegisterViewWithRegion(
"RibbonRegion", () => GetTabs());
private List<RibbonTabItem> GetTabs()
{
List<RibbonTabItem> ribbonTabsList = new List<RibbonTabItem>();
RibbonTabItem __FolderTab = new RibbonTabItem();
RibbonTabItem __FolderT = new RibbonTabItem();
ribbonTabsList.Add(__FolderTab);
ribbonTabsList.Add(__FolderT);
return ribbonTabsList;
}