15 references to GetRow
System.Windows.Forms (1)
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanel.cs (1)
218
Debug.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)
75
row = tableCollection.Container.
GetRow
((Control)o);
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (2)
1718
int currentIndex = isRow ? Table.
GetRow
(child) : Table.GetColumn(child);
1793
int currentIndex = isRow ? Table.
GetRow
(child) : Table.GetColumn(child);
System.Windows.Forms.Tests (11)
System\Windows\Forms\TableLayoutControlCollectionTests.cs (3)
38
Assert.Equal(row, container.
GetRow
(child));
50
Assert.Equal(-1, container.
GetRow
(child));
62
Assert.Equal(-1, container.
GetRow
(child));
System\Windows\Forms\TableLayoutPanelTests.cs (8)
936
Assert.Equal(-1, control.
GetRow
(child));
943
Assert.Throws<ArgumentNullException>("control", () => control.
GetRow
(null));
1903
Assert.Equal(value, control.
GetRow
(child));
1911
Assert.Equal(value, control.
GetRow
(child));
1950
Assert.Equal(value, control.
GetRow
(child));
1960
Assert.Equal(value, control.
GetRow
(child));
1980
Assert.Equal(1, control.
GetRow
(child));
1983
Assert.Equal(2, control.
GetRow
(child));