31 references to GetColumnSpan
System.Windows.Forms (3)
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanel.cs (1)
184
_tableLayoutSettings.
GetColumnSpan
(control);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettings.cs (2)
268
Debug.Assert(
GetColumnSpan
(element) == value, "column span should equal to the value we set");
531
controlInfo.ColumnSpan =
GetColumnSpan
(c);
System.Windows.Forms.Tests (28)
System\Windows\Forms\Layout\TableLayoutSettingsTests.cs (21)
302
Assert.Equal(1, settings.
GetColumnSpan
(child));
311
Assert.Equal(1, settings.
GetColumnSpan
(child));
320
Assert.Throws<ArgumentNullException>("control", () => settings.
GetColumnSpan
(null));
328
Assert.Throws<ArgumentNullException>("control", () => settings.
GetColumnSpan
(null));
336
Assert.Throws<NotSupportedException>(() => settings.
GetColumnSpan
("control"));
344
Assert.Equal(1, settings.
GetColumnSpan
("control"));
931
Assert.Equal(value, settings.
GetColumnSpan
(child));
939
Assert.Equal(value, settings.
GetColumnSpan
(child));
976
Assert.Equal(value, settings.
GetColumnSpan
(child));
986
Assert.Equal(value, settings.
GetColumnSpan
(child));
1013
Assert.Equal(value, settings.
GetColumnSpan
(child));
1019
Assert.Equal(value, settings.
GetColumnSpan
(child));
1046
Assert.Equal(value, settings.
GetColumnSpan
(child));
1054
Assert.Equal(value, settings.
GetColumnSpan
(child));
1074
Assert.Equal(1, settings.
GetColumnSpan
(child));
1077
Assert.Equal(2, settings.
GetColumnSpan
(child));
1088
Assert.Equal(1, settings.
GetColumnSpan
(child));
1091
Assert.Equal(2, settings.
GetColumnSpan
(child));
1112
Assert.Throws<ArgumentNullException>("control", () => settings.
GetColumnSpan
(null));
1129
Assert.Equal(1, settings.
GetColumnSpan
("control"));
1800
Assert.Equal(1, result.
GetColumnSpan
(controlWithName));
System\Windows\Forms\Layout\TableLayoutSettingsTypeConverterTests.cs (6)
68
Assert.Equal(1, settings.
GetColumnSpan
("simple"));
73
Assert.Equal(4, settings.
GetColumnSpan
("name"));
78
Assert.Equal(1, settings.
GetColumnSpan
("invalidRow"));
83
Assert.Equal(1, settings.
GetColumnSpan
("invalidRowSpan"));
88
Assert.Equal(1, settings.
GetColumnSpan
("invalidColumn"));
93
Assert.Equal(1, settings.
GetColumnSpan
("invalidColumnSpan"));
System\Windows\Forms\TableLayoutPanelTests.cs (1)
520
Assert.Equal(1, control.LayoutSettings.
GetColumnSpan
(controlWithName));