Example #1
0
 public void AddItemsToToolbar(ICollection <BarItem> toolbarItems)
 {
     AddBarItems(toolbarItems);
     foreach (BarItem toolbarItem in toolbarItems)
     {
         BarItem sharedBarItem = GetSharedBarItem(toolbarItem);
         this.ribbonControl.ToolbarItemLinks.Add(sharedBarItem.CreateLink());
     }
 }