15 references to GetRow
System.Windows.Forms (1)
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanel.cs (1)
218Debug.Assert(GetRow(control) == row, "GetRow should be the same as we set it");
System.Windows.Forms.Design (3)
System\Windows\Forms\Design\TableLayoutControlCollectionCodeDomSerializer.cs (1)
75row = tableCollection.Container.GetRow((Control)o);
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (2)
1718int currentIndex = isRow ? Table.GetRow(child) : Table.GetColumn(child); 1793int currentIndex = isRow ? Table.GetRow(child) : Table.GetColumn(child);
System.Windows.Forms.Tests (11)
System\Windows\Forms\TableLayoutControlCollectionTests.cs (3)
36Assert.Equal(row, container.GetRow(child)); 48Assert.Equal(-1, container.GetRow(child)); 60Assert.Equal(-1, container.GetRow(child));
System\Windows\Forms\TableLayoutPanelTests.cs (8)
934Assert.Equal(-1, control.GetRow(child)); 941Assert.Throws<ArgumentNullException>("control", () => control.GetRow(null)); 1901Assert.Equal(value, control.GetRow(child)); 1909Assert.Equal(value, control.GetRow(child)); 1948Assert.Equal(value, control.GetRow(child)); 1958Assert.Equal(value, control.GetRow(child)); 1978Assert.Equal(1, control.GetRow(child)); 1981Assert.Equal(2, control.GetRow(child));