10 references to GetCellPosition
System.Windows.Forms.Tests (10)
System\Windows\Forms\TableLayoutPanelTests.cs (10)
648
Assert.Equal(new TableLayoutPanelCellPosition(-1, -1), control.
GetCellPosition
(child));
655
Assert.Throws<ArgumentNullException>("control", () => control.
GetCellPosition
(null));
664
Assert.Throws<ArgumentOutOfRangeException>("column", () => control.
GetCellPosition
(child));
673
Assert.Throws<ArgumentOutOfRangeException>("row", () => control.
GetCellPosition
(child));
1563
Assert.Equal(value, control.
GetCellPosition
(child));
1571
Assert.Equal(value, control.
GetCellPosition
(child));
1615
Assert.Equal(value, control.
GetCellPosition
(child));
1625
Assert.Equal(value, control.
GetCellPosition
(child));
1645
Assert.Equal(new TableLayoutPanelCellPosition(1, 1), control.
GetCellPosition
(child));
1648
Assert.Equal(new TableLayoutPanelCellPosition(2, 2), control.
GetCellPosition
(child));