12 references to GetColumnSpan
System.Windows.Forms (1)
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanel.cs (1)
190Debug.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)
735int columnSpan = Table.GetColumnSpan(newControl); 1738int span = isRow ? Table.GetRowSpan(child) : Table.GetColumnSpan(child); // span is always at least 1 1827int 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)
696Assert.Equal(1, control.GetColumnSpan(child)); 703Assert.Throws<ArgumentNullException>("control", () => control.GetColumnSpan(null)); 1785Assert.Equal(value, control.GetColumnSpan(child)); 1793Assert.Equal(value, control.GetColumnSpan(child)); 1830Assert.Equal(value, control.GetColumnSpan(child)); 1840Assert.Equal(value, control.GetColumnSpan(child)); 1861Assert.Equal(1, control.GetColumnSpan(child)); 1864Assert.Equal(2, control.GetColumnSpan(child));