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)
36
Assert.Equal(row, container.
GetRow
(child));
48
Assert.Equal(-1, container.
GetRow
(child));
60
Assert.Equal(-1, container.
GetRow
(child));
System\Windows\Forms\TableLayoutPanelTests.cs (8)
934
Assert.Equal(-1, control.
GetRow
(child));
941
Assert.Throws<ArgumentNullException>("control", () => control.
GetRow
(null));
1901
Assert.Equal(value, control.
GetRow
(child));
1909
Assert.Equal(value, control.
GetRow
(child));
1948
Assert.Equal(value, control.
GetRow
(child));
1958
Assert.Equal(value, control.
GetRow
(child));
1978
Assert.Equal(1, control.
GetRow
(child));
1981
Assert.Equal(2, control.
GetRow
(child));