1 write to
System.Windows.Forms.Tests (1)
System\Windows\Forms\TableLayoutStyleCollectionTests.cs (1)
158Assert.Throws<ArgumentNullException>("value", () => collection[index] = null);
17 references to
System.Windows.Forms (13)
System\Windows\Forms\Layout\TableLayout.cs (12)
657TableLayoutStyle? style = i < styles.Count ? styles[i] : null; 661strip.MinSize = (int)Math.Round((double)styles[i].Size); 767TableLayoutStyle style = styles[i]; 786TableLayoutStyle style = styles[i]; 929if (lastPercent < styles.Count && styles[lastPercent].SizeType == SizeType.Percent) 1003(index < styles.Count) && styles[index].SizeType == SizeType.Absolute; 1030TableLayoutStyle style = styles[i]; 1096SizeType sizeType = i < styles.Count ? styles[i].SizeType : SizeType.AutoSize; 1099TableLayoutStyle style = styles[i]; 1120SizeType sizeType = i < styles.Count ? styles[i].SizeType : SizeType.AutoSize; 1131TableLayoutStyle style = styles[i]; 1154SizeType sizeType = i < styles.Count ? styles[i].SizeType : SizeType.AutoSize;
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutStyleCollection.cs (1)
152this[i].Owner = owner;
System.Windows.Forms.Design (4)
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (4)
1956if (styles[index].SizeType == newType) 1986styles[index].SizeType = SizeType.Absolute; 1998styles[index].SizeType = SizeType.Percent; 2010styles[index].SizeType = SizeType.AutoSize;