1 write to tabItemList
System.Workflow.ComponentModel (1)
AuthoringOM\Design\DesignerWidgets.cs (1)
1704this.tabItemList = new ItemList<ItemInfo>(this);
35 references to tabItemList
System.Workflow.ComponentModel (35)
AuthoringOM\Design\DesignerWidgets.cs (35)
1705this.tabItemList.ListChanging += new ItemListChangeEventHandler<ItemInfo>(OnItemsChanging); 1706this.tabItemList.ListChanged += new ItemListChangeEventHandler<ItemInfo>(OnItemsChanged); 1747return this.tabItemList; 1760if (value < 0 || value > this.tabItemList.Count) 1763ItemInfo previousTab = (this.selectedTab >= 0 && this.selectedTab < this.tabItemList.Count) ? this.tabItemList[this.selectedTab] : null; 1764ItemInfo currentTab = this.tabItemList[value]; 1782for (int i = 0; i < this.tabItemList.Count; i++) 1795if (this.tabItemList.Count == this.drawItems.Length) 1797for (int i = 0; i < this.tabItemList.Count; i++) 1799ItemInfo tabInfo = this.tabItemList[i]; 1830foreach (ItemInfo tabItemInfo in this.tabItemList) 1847foreach (ItemInfo tabItemInfo in this.tabItemList) 1873if (this.drawItems.Length != this.tabItemList.Count) 1890ItemInfo tabItem = this.tabItemList[tabItemIndex]; 1937graphics.DrawString(this.tabItemList[tabItemIndex].Text, Font, SystemBrushes.ControlText, new Rectangle(0, 0, bitmap.Width, bitmap.Height), stringFormat); 1953this.drawItems = new DrawTabItemStruct[this.tabItemList.Count]; 1965for (int i = 0; i < this.tabItemList.Count; i++) 1968ItemInfo itemInfo = this.tabItemList[i]; 2009int itemSizeDecrease = (int)Math.Ceiling(((double)(offset - maxTotalTabItemSize)) / (double)Math.Max(1, this.tabItemList.Count)); 2013DrawTabItemStruct lastItemStruct = this.drawItems[this.tabItemList.Count - 1]; 2016itemSizeDecrease += (int)Math.Ceiling(((double)(this.reqTabItemSize - lastItemWidth)) / (double)Math.Max(1, this.tabItemList.Count)); 2018for (int i = 0; i < this.tabItemList.Count; i++) 2024if ((i == this.tabItemList.Count - 1) && this.drawItems[i].TabItemRectangle.Width < this.reqTabItemSize) 2031if ((i == this.tabItemList.Count - 1) && this.drawItems[i].TabItemRectangle.Height < this.reqTabItemSize) 2049if (this.tabItemList.Contains(item)) 2057if (this.tabItemList.Count == 0) 2059else if (this.selectedTab > this.tabItemList.Count - 1) 2060SelectedTab = this.tabItemList.Count - 1; 2068int index = this.tabItemList.IndexOf(tabItemInfo); 2072if (this.drawItems.Length == this.tabItemList.Count) 2080int index = this.tabItemList.IndexOf(tabItemInfo); 2085if (tabItemInfo.Image != null && this.drawItems.Length == this.tabItemList.Count) 2097int index = this.tabItemList.IndexOf(tabItemInfo); 2102if (tabItemInfo.Text != null && this.drawItems.Length == this.tabItemList.Count)