30 references to SetColumn
System.Windows.Forms (3)
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanel.cs (1)
245
_tableLayoutSettings.
SetColumn
(control, column);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettings.TableLayoutSettingsStub.cs (1)
58
settings.
SetColumn
(tableControl, controlInfo.Column);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettingsTypeConverter.cs (1)
163
settings.
SetColumn
(name, column);
System.Windows.Forms.Tests (27)
System\Windows\Forms\Layout\TableLayoutSettingsTests.cs (22)
692
settings.
SetColumn
(child, value);
700
settings.
SetColumn
(child, value);
740
settings.
SetColumn
(child, value);
750
settings.
SetColumn
(child, value);
779
settings.
SetColumn
(child, value);
785
settings.
SetColumn
(child, value);
814
settings.
SetColumn
(child, value);
822
settings.
SetColumn
(child, value);
842
settings.
SetColumn
(child, 1);
845
settings.
SetColumn
(child, 2);
856
settings.
SetColumn
(child, 1);
859
settings.
SetColumn
(child, 2);
870
Assert.Throws<ArgumentNullException>("control", () => settings.
SetColumn
(null, value));
880
Assert.Throws<ArgumentNullException>("control", () => settings.
SetColumn
(null, value));
888
Assert.Throws<NotSupportedException>(() => settings.
SetColumn
("control", 1));
896
settings.
SetColumn
("control", 1);
905
Assert.Throws<ArgumentOutOfRangeException>("column", () => settings.
SetColumn
("control", -2));
913
Assert.Throws<ArgumentOutOfRangeException>("column", () => settings.
SetColumn
("control", -2));
1667
settings.
SetColumn
(controlWithName, 3);
1701
settings.
SetColumn
("name", 3);
1704
settings.
SetColumn
("", 1);
1780
settings.
SetColumn
(controlWithName, 3);
System\Windows\Forms\Layout\TableLayoutSettingsTypeConverterTests.cs (3)
184
settings.
SetColumn
(control, 3);
202
settings.
SetColumn
(control, 3);
226
settings.
SetColumn
("name", 3);
System\Windows\Forms\TableLayoutPanelTests.cs (2)
487
settings.
SetColumn
("name", 3);
491
settings.
SetColumn
("noSuchName", 7);