Example #1
0
 private void AddBackstageTabItem(IBaseCommand command, IList itemCollection, RibbonControlSize size = RibbonControlSize.Large)
 {
     if (command != null && itemCollection != null)
     {
         var item = command.ToBackstageTabItem(size);
         if (item != null)
         {
             itemCollection.Add(item);
         }
     }
 }