12 references to GetColumnSpan
System.Windows.Forms (1)
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanel.cs (1)
190
Debug.Assert(
GetColumnSpan
(control) == value, "GetColumnSpan should be the same as we set it");
System.Windows.Forms.Design (3)
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (3)
735
int columnSpan = Table.
GetColumnSpan
(newControl);
1738
int span = isRow ? Table.GetRowSpan(child) : Table.
GetColumnSpan
(child); // span is always at least 1
1827
int span = isRow ? Table.GetRowSpan(child) : Table.
GetColumnSpan
(child); // span is always at least 1
System.Windows.Forms.Tests (8)
System\Windows\Forms\TableLayoutPanelTests.cs (8)
696
Assert.Equal(1, control.
GetColumnSpan
(child));
703
Assert.Throws<ArgumentNullException>("control", () => control.
GetColumnSpan
(null));
1785
Assert.Equal(value, control.
GetColumnSpan
(child));
1793
Assert.Equal(value, control.
GetColumnSpan
(child));
1830
Assert.Equal(value, control.
GetColumnSpan
(child));
1840
Assert.Equal(value, control.
GetColumnSpan
(child));
1861
Assert.Equal(1, control.
GetColumnSpan
(child));
1864
Assert.Equal(2, control.
GetColumnSpan
(child));