1 write to drawItems
System.Workflow.ComponentModel (1)
AuthoringOM\Design\DesignerWidgets.cs (1)
1953this.drawItems = new DrawTabItemStruct[this.tabItemList.Count];
31 references to drawItems
System.Workflow.ComponentModel (31)
AuthoringOM\Design\DesignerWidgets.cs (31)
1795if (this.tabItemList.Count == this.drawItems.Length) 1810tabItemSize += this.drawItems[i].TextSize.Width; 1873if (this.drawItems.Length != this.tabItemList.Count) 1888for (int tabItemIndex = 0; tabItemIndex < this.drawItems.Length; tabItemIndex++) 1891DrawTabItemStruct drawTabItem = this.drawItems[tabItemIndex]; 1978this.drawItems[i].TextSize = new Size(Convert.ToInt32(Math.Ceiling(sizef.Width)), Convert.ToInt32(Math.Ceiling(sizef.Height))); 1981tabItemSize += this.drawItems[i].TextSize.Width + TabMargin; 1986this.drawItems[i].TabItemRectangle = Rectangle.Empty; 1989this.drawItems[i].TabItemRectangle.X = offset; 1990this.drawItems[i].TabItemRectangle.Y = 0; 1991this.drawItems[i].TabItemRectangle.Width = tabItemSize; 1992this.drawItems[i].TabItemRectangle.Height = this.reqTabItemSize; 1996this.drawItems[i].TabItemRectangle.X = 0; 1997this.drawItems[i].TabItemRectangle.Y = offset; 1998this.drawItems[i].TabItemRectangle.Width = this.reqTabItemSize; 1999this.drawItems[i].TabItemRectangle.Height = tabItemSize; 2013DrawTabItemStruct lastItemStruct = this.drawItems[this.tabItemList.Count - 1]; 2022this.drawItems[i].TabItemRectangle.X -= offset; 2023this.drawItems[i].TabItemRectangle.Width -= itemSizeDecrease; 2024if ((i == this.tabItemList.Count - 1) && this.drawItems[i].TabItemRectangle.Width < this.reqTabItemSize) 2025this.drawItems[i].TabItemRectangle.Width = this.reqTabItemSize; 2029this.drawItems[i].TabItemRectangle.Y -= offset; 2030this.drawItems[i].TabItemRectangle.Height -= itemSizeDecrease; 2031if ((i == this.tabItemList.Count - 1) && this.drawItems[i].TabItemRectangle.Height < this.reqTabItemSize) 2032this.drawItems[i].TabItemRectangle.Height = this.reqTabItemSize; 2072if (this.drawItems.Length == this.tabItemList.Count) 2073return this.drawItems[index].TabItemRectangle; 2085if (tabItemInfo.Image != null && this.drawItems.Length == this.tabItemList.Count) 2087imageRectangle = this.drawItems[index].TabItemRectangle; 2102if (tabItemInfo.Text != null && this.drawItems.Length == this.tabItemList.Count) 2104textRectangle = this.drawItems[index].TabItemRectangle;