public int CompareTo(object obj)
        {
            if (obj == null || !(obj is RibbonCommandItem))
            {
                return(0);
            }
            RibbonCommandItem rci = (RibbonCommandItem)obj;

            return(this.Name.CompareTo(rci.Name));
        }
        public static TRibbonCommand Selected(ComboBox combo)
        {
            RibbonCommandItem item = combo.Items[combo.SelectedIndex] as RibbonCommandItem;

            return(item.Value);
        }