30 references to SetColumnSpan
System.Windows.Forms (3)
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanel.cs (1)
189
_tableLayoutSettings.
SetColumnSpan
(control, value);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettings.TableLayoutSettingsStub.cs (1)
60
settings.
SetColumnSpan
(tableControl, controlInfo.ColumnSpan);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettingsTypeConverter.cs (1)
165
settings.
SetColumnSpan
(name, columnSpan);
System.Windows.Forms.Tests (27)
System\Windows\Forms\Layout\TableLayoutSettingsTests.cs (21)
930
settings.
SetColumnSpan
(child, value);
938
settings.
SetColumnSpan
(child, value);
975
settings.
SetColumnSpan
(child, value);
985
settings.
SetColumnSpan
(child, value);
1012
settings.
SetColumnSpan
(child, value);
1018
settings.
SetColumnSpan
(child, value);
1045
settings.
SetColumnSpan
(child, value);
1053
settings.
SetColumnSpan
(child, value);
1073
settings.
SetColumnSpan
(child, 1);
1076
settings.
SetColumnSpan
(child, 2);
1087
settings.
SetColumnSpan
(child, 1);
1090
settings.
SetColumnSpan
(child, 2);
1101
Assert.Throws<ArgumentNullException>("control", () => settings.
SetColumnSpan
(null, value));
1111
Assert.Throws<ArgumentNullException>("control", () => settings.
SetColumnSpan
(null, value));
1120
Assert.Throws<NotSupportedException>(() => settings.
SetColumnSpan
("control", 1));
1128
settings.
SetColumnSpan
("control", 1);
1139
Assert.Throws<ArgumentOutOfRangeException>("value", () => settings.
SetColumnSpan
("control", value));
1149
Assert.Throws<ArgumentOutOfRangeException>("value", () => settings.
SetColumnSpan
("control", value));
1665
settings.
SetColumnSpan
(controlWithName, 1);
1699
settings.
SetColumnSpan
("name", 1);
1778
settings.
SetColumnSpan
(controlWithName, 1);
System\Windows\Forms\Layout\TableLayoutSettingsTypeConverterTests.cs (4)
182
settings.
SetColumnSpan
(control, 1);
200
settings.
SetColumnSpan
(control, 1);
224
settings.
SetColumnSpan
("name", 1);
250
Assert.Throws<ArgumentNullException>("control", () => settings.
SetColumnSpan
(null, 1));
System\Windows\Forms\TableLayoutPanelTests.cs (2)
485
settings.
SetColumnSpan
("name", 1);
489
settings.
SetColumnSpan
("noSuchName", 5);