Example #1
0
        public SideTab(SideBarControl sideBar, string name) : this(sideBar.SideTabItemFactory)
        {
            var g = sideBar.CreateGraphics();

            dpiY = g.DpiY;
            g.Dispose();

            this.Name = name;
            SetCanRename();
            items.ItemRemoved += OnSideTabItemRemoved;
        }
Example #2
0
 public SideTab(SideBarControl sideBar, string name) : this(sideBar.SideTabItemFactory)
 {
     this.Name = name;
     SetCanRename();
     items.ItemRemoved += OnSideTabItemRemoved;
 }
Example #3
0
 public SideTab CreateSideTab(SideBarControl sideBar, string name)
 {
     return(new SideTab(sideBar, name));
 }
Example #4
0
 public SideTabCollection(SideBarControl sideBar)
 {
     this.sideBar = sideBar;
 }