Esempio n. 1
0
        public static RibbonTabBuilder Tab(this RibbonBuilder builder, string id, string title, string iconUrl = null)
        {
            var t = new RibbonTab(builder.CurrentRibbon.Helper, id, title, iconUrl);

            builder.CurrentRibbon.AddTab(t);

            return RibbonTabBuilder.CreateRibbonTabBuilder(builder.CurrentRibbon);
        }
Esempio n. 2
0
 public void AddTab(RibbonTab tab)
 {
     RibbonTabs.Add(tab);
 }