/// <summary> /// /// </summary> /// <param name="label"></param> /// <returns></returns> public RibbonModelItemComboBox CreateRibbonComboBox(string label) { var r = new RibbonModelItemComboBox() { Label = label }; Items.Add(r); return(r); }
/// <summary> /// /// </summary> /// <param name="dictionary"></param> /// <returns></returns> public RibbonModelItemComboBox CreateRibbonComboBox_(Dictionary <object, object> dictionary) { var r = new RibbonModelItemComboBox(); Items.Add(r); AddGalleryItems_(dictionary, r.ItemsCollection); var ribbonModelItemComboBox = CreateRibbonGallery_(dictionary, "gal2"); r.ItemsCollection.Add(ribbonModelItemComboBox); return(r); }