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