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)
698Assert.Equal(1, control.GetColumnSpan(child)); 705Assert.Throws<ArgumentNullException>("control", () => control.GetColumnSpan(null)); 1787Assert.Equal(value, control.GetColumnSpan(child)); 1795Assert.Equal(value, control.GetColumnSpan(child)); 1832Assert.Equal(value, control.GetColumnSpan(child)); 1842Assert.Equal(value, control.GetColumnSpan(child)); 1863Assert.Equal(1, control.GetColumnSpan(child)); 1866Assert.Equal(2, control.GetColumnSpan(child));