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