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