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); 765TableLayoutStyle style = styles[i]; 784TableLayoutStyle style = styles[i]; 927if (lastPercent < styles.Count && styles[lastPercent].SizeType == SizeType.Percent) 1001(index < styles.Count) && styles[index].SizeType == SizeType.Absolute; 1028TableLayoutStyle 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)
1963if (styles[index].SizeType == newType) 1993styles[index].SizeType = SizeType.Absolute; 2005styles[index].SizeType = SizeType.Percent; 2017styles[index].SizeType = SizeType.AutoSize;